Re: How to solve this equation?
- To: mathgroup at smc.vnet.net
- Subject: [mg72209] Re: How to solve this equation?
- From: dh <dh at metrohm.ch>
- Date: Thu, 14 Dec 2006 05:49:35 -0500 (EST)
- Organization: hispeed.ch
- References: <eloqvd$o2j$1@smc.vnet.net>
Hi,
here is the correct syntax:
DSolve[{y'[x]+y[x]Tan[x]\[Equal]Sin[2x],y[0]\[Equal]2},y,x]
Daniel
learner wrote:
> 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!!!
>