Hello.

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:

BATMAN.

And here is the picture of the program running.

calculateE execution

Stay true!

-The Admin.

 

CC BY 4.0 Calculate e. by esaupreciado is licensed under a Creative Commons Attribution 4.0 International License.