This task was not that hard. We had to make a function that computes an estimation of e, which is a number very used in finances. The trick was our number must have the accuracy given by the user.

Here is my code:

CC BY 4.0 Estimating e by fersabal is licensed under a Creative Commons Attribution 4.0 International License.