PS.4.MAA.2: Write an algorithm to solve mathematical problems using formulas, equations, and functions