Question: 2. The polynomials (x - 1) has the value o at x = 1 and is positive elsewhere. Note the mathematically equivalent expansion is given
2. The polynomials (x - 1) has the value o at x = 1 and is positive elsewhere. Note the mathematically equivalent expansion is given as (1-1) = 2* - 6x +16r6 - 202" + 162 - x + 1. Compute and plot the values of the polynomial using each of the forms for 101 equally spaced points in the interval (0,995, 1.005]. That is, the spacing between the points should be 0.0001. This can be accomplished in MATLAB with either the command xvals - 0.995:0.0001:1.005; or xvals - linspace(0.995, 1.005,101); (You can, of course, store your values in a variable names something other than xvala.) Your plot should be scaled so that the values for and for the polynomial use the full ranges of their respective axes. For more information regarding plots in MATLAB, see the documentation available for the plot command . Explain why there are differences between the evaluations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
