Let . Use the derivative approximation: to approximate using = . Try to take small enough that the rounding error effect begins to dominate the mathematical error. For what value of h does this begin to occur?
Answer & Explanation
Tristin Case
Expert
2022-07-05Added 15 answers
Partial answer To get an idea how good the approximation is, you can calculate the result for the special functions . Here, we get the exact result for , so the formula is exact upto degree (Polynomials upto degree are differentiated exactly by the formula) For , you get , so you have an error of