(1-sin (x)**2)/(1+tan (x)**2)

cos(x)**4

solve((1 - sin(x)**2)/(tan(x)**2 + 1), x)

diff((1 - sin(x)**2)/(tan(x)**2 + 1), x)

series((1 - sin(x)**2)/(tan(x)**2 + 1), x, 0, 10)

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