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 estimate of 323 divided by 5
simplify square root 320
convert 42 yards to inches
6/15=2/c what is c equal
Humanists believe that A. Shakespeare didn't actually write the plays we think he did. B. life on earth is important in its own right. C. love is an illu
What is a structure that some single-celled organisms have in order to move? -arms -tails -cilia
are bio identical hormones safe to use
Which line from Grendel best shows the darker side of the character Beowulf?
Careers differ in many ways other than just income, and these differences can affect your long-term goals or your ability to attain the same. Which of the follo
I need help with dialogue