Confused on how to do this.I am trying to make a math library and confused on how to do this. A function that calculates the...