Question: 3 . 7 We turn to the first central - difference approximation to the second derivative. ( a ) Start with the error analysis, including
We turn to the first centraldifference approximation to the second derivative.
a Start with the error analysis, including both approximation and roundoff error.
Derive expressions for the hopt and the Eopt. Then, produce numerical estimates
for hopt and the Eopt. Compare these results to those for the first derivative.
b Now code this problem up in Python for the function fx e
sinx
at x
to produce both a table of numbers and a plot for the absolute error, with h taking
on the values
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
