To demonstrate your understanding of Mathematical Operations, you should be able to complete these Hacks!
Hack 1
Create these functions:
- Adds 2 parameters
- Subtracts 2 parameters
- Divides 2 parameters
- Find the Modulus of 2 parameters
- Raise parameter A to the power of parameter B
Hack 2
Create a function that finds a point on a graph of f(x) = 5x + 2
- Think
f(x) = mx + bory = mx + b. - Your parameter should be the x value, and your output (return value) should be the y value.