solve ODE help?
- To: mathgroup at smc.vnet.net
- Subject: [mg72089] solve ODE help?
- From: "learner" <freephys at gmail.com>
- Date: Mon, 11 Dec 2006 04:55:23 -0500 (EST)
Hi, everyone, i am new to solve ode in mathematica. i am trying to solve two odes(not for hw :)). y'+ytan(x)=sin(2x) I use: NSolve[{Direvative[1][y][x]+y Tan[x]==Sin[2x]},y,x] and get reply saying that: InverseFunction::ifun: Inverse functions are being used. Values may be lost for multivalued inverses {{y[x]->cot[x](sin[2x]-y'[x]}} , the mathematica did not solve the equation?? Furthermore, I add condition that y==2 when x==0 by saying: NSolve[{Direvative[1][y][x]+y Tan[x]==Sin[2x],y[0]==2},y,x] but no help ? why? thanks
- Follow-Ups:
- Re: solve ODE help?
- From: "Chris Chiasson" <chris@chiasson.name>
- Re: solve ODE help?