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

WILL GIVE BRAINLIEST AND 30 POINTS! Multiply the matrix representing the vertices of the rectangle to transform the figure. What are the coordinates of the resu
How long can a body go for without food or water
Given the similarity statement ΔDEF ∼ ΔXYZ, which side corresponds with ED¯¯¯¯¯¯¯¯? Question 2 options: A) EF¯¯¯¯¯¯¯¯ B) ZY¯¯¯¯¯¯¯ C) YX¯¯¯¯¯¯¯¯ D) XZ¯¯¯¯¯¯¯¯
Which one of the following types of strengthening usually requires a partner?
What two different approaches did the Knights of Labor and the American Federation of Labor take in building a union organization? (2 points)
Subtract. 5x2 - 5+1 (2x2 +9x-6) -_________ A. 3x2 - 4x+7 B. 3x2 - 14x+7 c. 3x2 + 4x - 5 D. 3x2 + 14x-5
progressivism was a political movement that
if two species from the same kingdom met would they attack each other
Which two of these options would be realistic responses for readers of this extract? Be a healthy weight Eating a healthy, balanced diet plays an essential role
Please answer this question now in two minutes
good job