Question: MATLAB ONLY !! (a) Change the range of your plot in problem 2b above to (1107, 1+10=7). The two curves should now look very different.
MATLAB ONLY !!

(a) Change the range of your plot in problem 2b above to (1107, 1+10=7). The two curves should now look very different. (b) Change the script so that it plots the absolute and relative errors (two different plots, one for absolute error, one for relative error)related to the difference between the Taylor series and f(x) over the interval (1 10-6,1 + 106). Make sure you use the Matllab abs function to obtain the absolute value of the error. Use a log scale on the y-axis. (C) To identify the source of the errors plotted in (b) it is useful to compare to a reasonable bound for the truncation error expected for the Taylor series. Come up with a such a bound and plot its magnitude on the same log-linear plot from (b). You should have a different bound for x 1 (you can first look at the simpler case of log(x) to understand why this happens). For x > 1 you can use the result mentioned in class for error of an alternating series. The case x 1 (you can first look at the simpler case of log(x) to understand why this happens). For x > 1 you can use the result mentioned in class for error of an alternating series. The case x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
