In this WSQ I had to calculate the e number of a value, here is the full instruction:
“In this assignment you will estimate the mathematical constant e. You should create a function called calculuate_e which receives one parameter called precision that should specify the number of decimal points of accuracy.”
This is the same question as the one that I solve in Quiz # 11, so the code is the following:
And here is the picture of the program running.
Calculate e. by esaupreciado is licensed under a Creative Commons Attribution 4.0 International License.