tan (1+x)

solve(tan(x + 1), x)

diff(tan(x + 1), x)

series(tan(x + 1), x, 0, 10)

Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.