ode2 problem (negative log arguments)



Hi!

I was hoping to use ode2 to solve for me the following ode:

'diff(p,x) = 1/(W-x) - ((R-1)/(W-x)-1)*p;

(or at least get it into closed form in a single integral). The values
for x range over [0,W], which means that the answer ode2 gives from

ode2(%,p,x);

which has %e^log(x-W) in it is not suitable! Doing the problem via an
integrating factor is possible (I ended up doing it on paper) but I was
wondering whether there was some way of telling maxima the information
I know about x and W.

This is an IVP by the way, with p(0)=0.

Any ideas?

Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20070828/929b218d/attachment.pgp