diff (y(x)**2-5*sin (x),x)

diff(y(x)**2 - 5*sin(x), x)

solve(y(x)**2 - 5*sin(x), x)

series(y(x)**2 - 5*sin(x), x, 0, 10)

Experiment with SymPy at SymPy Live.