evaluating the limit of a continuous function