simplify (cos (x)*cos (y)-sin (x)*sin (y))

solve(cos(x + y), x)

diff(cos(x + y), x)

series(cos(x + y), x, 0, 10)

Experiment with SymPy at SymPy Live.