How to solve this equation?
- To: mathgroup at smc.vnet.net
- Subject: [mg72142] How to solve this equation?
- From: "learner" <freephys at gmail.com>
- Date: Wed, 13 Dec 2006 06:40:23 -0500 (EST)
hi,
I am trying to solve y'+y tanx=sin(2x)
i wrote NSolve[{Derivative[1][y][x]+y Tan[x]==Sin[2x]},y,x] but get
something like
{{y->cot[x](sin[2x]-y`[x]}}
I want to set a restraint to say y=2 when x=0, how shoud i do it?
many thanks!!!