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

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

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