Question: How determine the ode type ? my answer and real anser are so different?

my answer is so different but  and i want remove this lambert in my test? can we do something for giving question exactly solve the question by model i have a book of ode which a lot of time i do some trail but have a problem? how i can remove this issue specially for bernoli and  other type?

restart

with(DEtools, odeadvisor)

ode := diff(y(x), x)+x/y(x)+2 = 0

diff(y(x), x)+x/y(x)+2 = 0

(1)

Student:-ODEs:-Type(ode)

{}

(2)

odeadvisor(ode)

[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]

(3)

Student:-ODEs:-Type(ode); W := dsolve(ode); odetest(W, ode)

{}

 

y(x) = -x*(LambertW(-c__1*x)+1)/LambertW(-c__1*x)

 

0

(4)

Download test.mw

Please Wait...