The hints provided a step by step guide on how to code the different calculations. Have you checked your code against the guide? Don’t forget to use parenthesis to enforce evaluation order. For example, operators like * and / have higher precedence over + and -. If you are still having problem after checking, then, send me a direct message with the function, and I will have a look for you.