Evaluating limits of functions