Question: please use Matlab Taylor series, while loop and error calculation. 6. Consider the function f(x) = x + 1.9 + 0.158 sin x, around the

please use Matlab
Taylor series, while loop and error calculation. 6. Consider the function f(x) = x + 1.9 + 0.158 sin x, around the point is xo = 2 Develop a Matlab script to determine the lowest order of Taylor expansion resulting in a maximum error of 0.00001% for all values on the interval specified below. Write the Maltab script (using a while loop) so that the approximate function value and true relative error (&) is calculated for each order Taylor expansion, i.e., from zeroth-order to the highest order needed, for the x values [0, 1/6, 21/6, 37/6, 47/6, 57/6, 7). The result should be two 2D arrays where each row is a specific order in the Taylor expansion, and one array holds the function value at each x point (the columns), and the other array hold the error value at each x point. Matlab functions and scripts may be utilized, but the parent calling program should be a Matlab script (the parent script run from the command line is sometimes called the wrapper since it wraps around the other scripts and functions). Taylor series, while loop and error calculation. 6. Consider the function f(x) = x + 1.9 + 0.158 sin x, around the point is xo = 2 Develop a Matlab script to determine the lowest order of Taylor expansion resulting in a maximum error of 0.00001% for all values on the interval specified below. Write the Maltab script (using a while loop) so that the approximate function value and true relative error (&) is calculated for each order Taylor expansion, i.e., from zeroth-order to the highest order needed, for the x values [0, 1/6, 21/6, 37/6, 47/6, 57/6, 7). The result should be two 2D arrays where each row is a specific order in the Taylor expansion, and one array holds the function value at each x point (the columns), and the other array hold the error value at each x point. Matlab functions and scripts may be utilized, but the parent calling program should be a Matlab script (the parent script run from the command line is sometimes called the wrapper since it wraps around the other scripts and functions)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
