Question: Note: Make sure to declare your variables using double precision Chor your answers to 2 decimal places and use the e (exponential notation, for example:

Note: Make sure to declare your variables using double precision Chor your answers to 2 decimal places and use the "e" (exponential notation, for example: 1.744024451568627e-02 becomes 1.740-02 Error of Forward Finite Difference Error of Backward Finite Difference Error of Central Finite Difference Ar 10- or (10^-2) Ar = 10-or (1046) Az = 10-10 or (10^-10) following function: f(x) = 12.5+3.5x cos(2.45x) at the location Xo = 2.75 using a step size of Ar=0.1,0.01,0.001...10-2. Evaluate the exact derivative and compute the error for each of the three finite difference methods. 1. Generate a table of results for the error for each finite difference at each value of 2. Generate a plot containing the log of the error for each method vs the log of Ar. 3. Repeat this in single precision 4. What is machine epsilon in the default Octave real variable precision 5. What is machine epsilon in the Octave real variable single precision Ax
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
