As always, please include a contract, a purpose, examples, and tests for each function.
Exercises 23.3.2, 23.3.3, 23.3.4, 23.3.5
Exercise 23.3.7 Write the results of comparison of your function ln and the predefined log function in comments.
Exercise 23.3.9