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)

Want a full Python shell? Use SymPy Live.