parisse a écrit :I have now implemented this kind of equations.
These are good news - many thanks!
But it will not work very often, since there are 2 calls to desolve that must succeed.
Yes I know, I've tried a few such ODEs in Xcas manually.
Two well working examples are:
y''=y*y' and y''=y'^2/y
I have 2 further types in my ODE package which are also quite easy to solve -
the 1st one would be nice, the 2nd one is a bit more complicated (and not so important):
1) 'Liouville': y''=u(x)*y'+v(y)*y'^2 (looks a bit like the 1st order Bernoulli type)
If the ODE has exactly this form, then y' can immediately be calculated:
y'=c1*e^int(u(x),x)*e^int(v(y),y)
Then you can get y by one additional deSolve - or even write the solution directly in implicite form:
int(e^(-int(v(y),y)),y)=c1*int(e^int(u(x),x),x)+c2
2) 'exact': y''=u(x,y,y')/v(x,y,y')
There are 2 necessary (but rather unlikely) conditions to check (a few partial derivatives similar to 'exact 1st order ODE'), but this type happens really very seldom, so I doubt it would be worth to implement it (although it also would require just a few lines of code).
Franz