Limits are very simple to calculate in Sage. Once again Sage uses Mathematica syntax:
limit(f(x),x=a)
where a can equal any real number or infinity.