lim (x^2 + cos(x) + 1 / x + 3^x) as x goes to 3