Substituting the expression of a lower order derivative in the expression for the higher order derivative

I have the following differential equation: I’m trying to find the second derivative of y with respect to x. The expected result is as follows: I’m trying to use sympy to give me the above expression. This is what I’ve tried: from sympy import * x = symbols(‘x’) y = Function(‘y’) #initial value condition: y(1)… Read More Substituting the expression of a lower order derivative in the expression for the higher order derivative