| Author |
Comment/Response |
sean
|
08/19/03 11:39am
Hi,
Im new to mathematica but i want to solve two simultaneous differential equations as a
function of length (z=0 to L).
The equations are
dq/dz=(a/(1+p+q))*(u*p+1)*q
dp/dz=(b/(1+p+q))*(u*q-1)*p
As you can see both p and q vary with z.How might I go about solving (integrating) this?
What I have tried so far is involves the DSolve function, Ie
DSolve[{p'[z]==(b/(1+p[z]+q[z]))*(u*q[z]-1)*p[z], q'[z]==(a/(1+p[z]+q[z]))*(u*p[z]+1)*q[z]}, {p[z], q[z]}, z]
but I get a nonsensical answer.
Im using Mathematica version 4.2 if that makes a difference.
thanks for any help
sean
URL: , |
|