Mathematics arithmetic evaluator