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

problem b&d please use matlab 1.3.5. Let f(x) (e-1)/x. (a) Find the

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!