bolaryn bolaryn
  • 09-02-2022
  • Computers and Technology
contestada

Using the Mclaurin’s series only, prove categorically that e=2.71828

Respuesta :

tonb
tonb tonb
  • 09-02-2022

Answer:

import math

e = n = 0

while(round(e, 5) != 2.71828):

 e = e + 1/math.factorial(n)

 print(n, e)

 n = n + 1

Explanation:

Above McLaurin series implementation shows that you approximate e to 5 decimals already after 8 iterations.

Answer Link

Otras preguntas

What is the most likely type of bond formed between element x and iodine?
PLEASE ANSWER ASAP WILL GIVE BRAINLIEST! MUST BE CORRECT! Supreme Court ruling that legalized racial segregation as long as the facilities were equally funded;
can anyone help me with number 5 ??
math help with a couple questions, its overdue >.
What was the significance of the Battle of Stalingrad during World War II? A. It was the first large-scale Soviet victory. B. It knocked the Soviet Union
To reckless, the primary containment factor is found in
Find the dimensions of the rectangle with perimeter 64 inches that has maximum area, and then find the maximum area.
i need 3 valid reasons on if freedom should be given or demanded (pleasehelpimdesperate)
Which of the following words is in the present participle form? Corrupting, acquit , perpetuated ,discreet
What system of moral beliefs formed the center of Chinese thought and culture during the Ming and Qing dynasties? A. Shintoism B. Buddhism C. Con