Evaluating functions and solving equations