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)

Need more control? Try SymPy Live.