Question: How solve ODE equation by specific method?

when we have ode equation we say what is type of equation then  i want solve by this method say the name of method and if possible i want to solve this equation by the method step by step too, maple can do that? also can we plot the solution or any geometricall presentation , also i have error in writing exact form of equation

restart

"with(Student[ODEs]): "

with(DETools)

ode1 := diff(y(x), x)+2*x*y(x) = x

diff(y(x), x)+2*x*y(x) = x

(1)

Type(ode1)

{linear, separable}

(2)

W := dsolve(ode1)

y(x) = 1/2+exp(-x^2)*c__1

(3)

odetest(W, ode1)

0

(4)

ODESteps(ode1)

"[[,,"Let's solve"],[,,(ⅆ)/(ⅆx) y(x)+2 x y(x)=x],["•",,"Highest derivative means the order of the ODE is" 1],[,,(ⅆ)/(ⅆx) y(x)],["•",,"Separate variables"],[,,((ⅆ)/(ⅆx) y(x))/(2 y(x)-1)=-x],["•",,"Integrate both sides with respect to" x],[,,∫((ⅆ)/(ⅆx) y(x))/(2 y(x)-1) ⅆx=∫-x ⅆx+`c__1`],["•",,"Evaluate integral"],[,,(ln(2 y(x)-1))/2=-(x^2)/2+`c__1`],["•",,"Solve for" y(x)],[,,y(x)=((e)^(-x^2+2 `c__1`))/2+1/2]]"

(5)

ode2 := (sin(x)*tan(x)+1)*dx-cos(x)*sec(y(x))^2*dy = 0

(sin(x)*tan(x)+1)*dx-cos(x)*sec(y(x))^2*dy = 0

(6)

Type(ode2)

Error, (in Student:-ODEs:-Type) could not determine the solving variable. Please specify it as an extra argument in the form: y(x)

 
 

NULL

Download ode-example.mw

Please Wait...