(x2-27)/(x-3) as x tends to 3

as written, limit is infinity (-18/0).

If you meant (x^3-27)/(x-3) then note that for x≠3,

(x^3-27)/(x-3) = x^2 + 3x + 9

This is defined for all values except x=3, and the limit is 27.