MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

solve ODE help?


 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


  • Prev by Date: RE:Packages--guikit and mathgl3d help!
  • Next by Date: Re: How to plot a parellal line
  • Previous by thread: RE:Packages--guikit and mathgl3d help!
  • Next by thread: Re: solve ODE help?