Evaluating expressions and solving equations