Hello, I'm able to find 1st order (dy/dx) of a function, but if I try to do the process again on dy/dx it doesn't work to find d2y/dx2. I'm curious if anyone knows what the problem is or how to find d2y/dx2. I have a feeling that the problem is that I get dy/dx in terms of x and y(x) and not x and y, but I can't seem to change y(x) back to y when I use the sub command. This is the code:
Gets the correct answer for dydx. I'd like to find d2y/dx2 now. The answer for d2y/dx2 is:
d2ydx2=-(x^2+y^2)/y^3
d2ydx2(x) =

Aslo, using dydx = -Fx/Fy doesn't work for 1st order, unless more code is needed.
dydx(x) =

Thank you.