Exercise 3

Basic math functions