CSCI3656 Numerical Computing :: Project Ten

$30.00

Category: Tags: , , , You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (7 votes)

Consider the function
f(x) = sin(4.8 π x).
Compute the derivative by hand to get the truth. Implement the following
numerical methods for approximating first derivatives: (i) one-sided forward
difference, (ii) one-sided backward difference, and (iii) central difference. Use
the numerical methods to estimate the derivative at some value of x.
Study the convergence of the finite difference approximations. Choose
several values of h and compute the error for each, then plot the relationship. Identify the asymptotic regime to estimate the convergence rate of each
method. Do the rates depend on x?
1