Question: Please answer all the questions below. Use c++! Thank you! 3. a. (i) Compare the accuracy of the following three formulas for approxi- mating the

Please answer all the questions below. Use c++! Thank you!
Please answer all the questions below. Use c++! Thank you! 3. a.
(i) Compare the accuracy of the following three formulas for approxi- mating

3. a. (i) Compare the accuracy of the following three formulas for approxi- mating the derivative, f'(x): Mi(n) = f(x + h) f(2) h M2(h) = f(x +h)-f(x h) 2h -f(x + 2h) + 4f (x + h) 3f(x) M3(h) = 2h In particular, test the above approximations when f(x) = 24/3, x = 0 or x = 1, and h = 10-P, p = 3,4,5,..., 20. (ii) Ash is decreased, the error becomes smaller, until a critical value of h is reached, after which point the error starts to increase as h decreases. Find the critical h, herit, experimentally. Note: in order to avoid problems in evaluating 24/3 when x

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!