Question: How to substitute function in ODE?

I have y"+y=sinx

If I want to substitute y=sinx, how should I do it?

I tried subs(y=sin(x),f(y))(ofc after defining f:=y as above).

The most troubling thing is that it does not automatically apply double derivative.

Please Wait...