integrate (tan (x),(x,0,pi /2))

integrate(tan(x), (x, 0, pi/2))

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