Question: For a function, only the numerical values are available as shown in the table bellow, Write a MATLAB script file to calculate the derivative of

For a function, only the numerical values are available as shown in the table bellow, Write a MATLAB script file to calculate the derivative of y, use a for loop to apply the forward method to the first 9 points, then use the backward method for the last point.

xi = 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0

yi = 1.815 2.16 2.535 2.94 3.375 3.84 4.335 4.86 5.415 6

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!