to work out the answer or solution to (a mathematical problem)