Question: problem b&d please use matlab 1.3.5. Let f(x) (e-1)/x. (a) Find the condition number R(x). What is the maximum of n(x) over-1x 3 1? (b)
problem b&d please use matlab

1.3.5. Let f(x) (e-1)/x. (a) Find the condition number R(x). What is the maximum of n(x) over-1x 3 1? (b) Use the "obvious" algorithm y - (exp(x)-1)/ x; to compute f(x) at 1000 evenly spaced points in the interval [-1,1]) (c) Use the first 18 terms of the Taylor series to create a second algorithm, and evaluate it at the same set of points. d) Plot the relative difference bet ween the two algorithms as a function of x. Which one do you believe is more accurate, and why? 1.3.5. Let f(x) (e-1)/x. (a) Find the condition number R(x). What is the maximum of n(x) over-1x 3 1? (b) Use the "obvious" algorithm y - (exp(x)-1)/ x; to compute f(x) at 1000 evenly spaced points in the interval [-1,1]) (c) Use the first 18 terms of the Taylor series to create a second algorithm, and evaluate it at the same set of points. d) Plot the relative difference bet ween the two algorithms as a function of x. Which one do you believe is more accurate, and why
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
