User Portlet User Portlet

Discussions
You can use `NDSolve` like this ode = y'[x] == Cos[x] - Exp[-y[x]]; ic = y[1] == 0; sol = First[y /. NDSolve[{ode, ic}, y, {x, 0, 2}]] Plot[sol[x], {x, 0, 2}] To see what happens as the range changes: Manipulate[ ...
Hi, not sure but this might help: sol = DSolve[{x y'[x] + 2 y[x] == Sin[x], y[Pi/2] == 1}, y[x], x] (* {{y[x] -> (-4 + \[Pi]^2 - 4 x Cos[x] + 4 Sin[x])/(4 x^2)}} *) You can generate the graphs like so: GraphicsColumn[{Plot[y[x] /....