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 to compute something more complicated? Try a full Python/SymPy console at SymPy Live.