integrate (1/(x**2+1),(x,0,oo ))

integrate(1/(x**2 + 1), (x, 0, oo))

minpoly(pi/2)

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