Please please please don't copy other solutions with diffrent numbers other than the question please and use python not MATLAB Question asks for x=15 and x=-15 while n ranging between 1 and 80 so I hope to see the code using this numbers Question: We can use the sum of the first n terms of the Taylor series of e^x with a=0 to estimate the value of the exponential function. Using a logarithmic y axis, plot the fractional error in the estimated e^x (compared to numpy.exp(x)) as a function of n (n ranging between 1 and 80) for (a) x = 15 and (b) x = −15. [You can plot the two cases either as different curves on the same plot or in different plots, whichever is clearer.] Please answer this question *FULLY* in python showing the whole code I would appreciate your help alot
Please please please don't copy other solutions with diffrent numbers other than the question please and use python not MATLAB
Question asks for x=15 and x=-15 while n ranging between 1 and 80 so I hope to see the code using this numbers
Question:
We can use the sum of the first n terms of the Taylor series of e^x with a=0 to estimate the value of the exponential function.
Using a logarithmic y axis, plot the fractional error in the estimated e^x (compared to numpy.exp(x)) as a function of n (n ranging between 1 and 80) for (a) x = 15 and (b) x = −15. [You can plot the two cases either as different curves on the same plot or in different plots, whichever is clearer.]
Please answer this question *FULLY* in python showing the whole code I would appreciate your help alot

I Provided a new run fresh code with output with Screenshot. and no need to worry, It will work fine.
Step by step
Solved in 3 steps with 2 images









