Calculate the first and second order numerical derivative of the following function for the value x=5, using the forward difference method and taking the step size of h=0.01. Find the relative error value for each result.
f(x)= Ln(x)
Note: If we solve this derivative analytically, we get ?′(5)=0.2 ?? ?′′(5)=−0.04.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here