integrate (tan (x))

integrate(tan(x), x)

plot(-log(cos(x)))

solve(-log(cos(x)), x)

diff(-log(cos(x)), x)

series(-log(cos(x)), x, 0, 10)

Need more control? Try SymPy Live.