Question: It is known that the exponential function is analytic and can be expressed as: e^x = sigma^infinity_i = 0 x^i/i! Truncate the series to compute

It is known that the exponential function is analytic and can be expressed as: e^x = sigma^infinity_i = 0 x^i/i! Truncate the series to compute five different estimates (i.e. sum to 1, 2, 3, 4 and 5th terms) for x = 0.25. For each estimate determine the true error and approximate percent relative error. Arrange your results in a table (use fprintf - see workshop 5) that has column 1 as the 'number of terms' included in the estimate, the second column the 'estimate', the third column the 'true error' and the fourth column the Approximate Relative Percent Error 'APRE'. Express in decimal format with 10 digits after the decimal point
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
