Question: I need the octave script and the plots You are to write a program in Octave to evaluate the forward finite difference, backward finite difference,

I need the octave script and the plots
I need the octave script and the plots You are to write
a program in Octave to evaluate the forward finite difference, backward finite

You are to write a program in Octave to evaluate the forward finite difference, backward finite difference, and central finite difference approximation of the first derivative of the following function: $(x) = 12.5+3.5x cos(2.45x) at the location x = 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 Ar. 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. Complete the project l assignment quiz on webcourses. Report on the Webcourses project 1 assignment Quiz the values of the derivative estimated using each of the three finite differences using as step size of Ax=10, Ax=10%, Ax=10-10, and Ax=10-20

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!