Question: 2. For the same function and h in the range (10-1, 10-2, ..., 10-9], use your onesidediff to ap- proximate f'(n) (the exact value is

 2. For the same function and h in the range (10-1,

2. For the same function and h in the range (10-1, 10-2, ..., 10-9], use your onesidediff to ap- proximate f'(n) (the exact value is obviously -1). Make a table which lists h in the first column, the one-sided approximation in the second column, and the error in the one-sided approximation in the third column. Report h in scientific notation which a minimum number of displayed digits. Report errors in absolute value using scientific notation keeping 3 digits past the decimal. Approx- imations should be reported in fixed-point non-scientific notation with a full field of digits (say 14 past the decimal point). Plot the set of errors versus h. What do you observe

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!