For this assignment, you are going to create your own mini-version of the Java Math class.
You will create a class called "MyMath". In it, you will create two public static functions:
You will also create a Main class, with a main function. In main(), print to console a couple of lines solving the following equations:
You MUST use your custom MyMath class to complete these calculations! Do NOT use the in-built Math class. You shouldn't use the original Math class in either Main nor MyMath
You are NOT allowed to create an object of your MyMath class for this assignment! You must use static function calls to your pow() and round() functions.
You can assume that you'll only have to input positive numbers.
You'll need to come up with a formula/solutions for pow() and round() yourself. You may use the following as a starting point for pow:
Example output for your project:
The solution for 2 to the power of 10 is: 1024
The solution for 4.49 rounded to the nearest whole number is: 4.00