Question: This numerical methods problem requires MATLAB. Please type out code. Thank you! 2. Loss of Significance ( 3 points). Consider x=,x as an approximation of
2. Loss of Significance ( 3 points). Consider x=,x as an approximation of to n significant digits, and y=xx. a. Determine theoretically what the magnitude of relative error of y(y) should be as a function of n. b. Determine computationally the magnitude of xy as a function of n for 1n10. Plot the trend in MATLAB. c. Do the two trends agree? Why or why not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
