Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. Find the derivative with the forward and backward, and difference methods in C. For the central difference method, write a script m-file and use
2. Find the derivative with the forward and backward, and difference methods in C. For the central difference method, write a script m-file and use the 2 point estimation of the derivative at the end points. Plot the data file and the derivative on one plot. Submit code and run results, m-file and run results plus plot. Check your results with Matlab's diff function. How does Matlab/Octave numerically calculate derivatives? Optional: investigate Matlab cfit/differentiate L LUI VIDIUL VICV ICI Lab11.txt 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.1 1.2 1.3 1.4 1.5 0.000 0.005 0.020 0.045 0.079 0.126 0.181 0.243 0.323 0.410 0.500 0.603 0.715 0.847 0.993 1.113 1.267 1.438 1.600 1.825 2.007 2.207 2.448 2.618 2.856 3.140 3.426 3.653 3.874 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2. Find the derivative with the forward and backward, and difference methods in C. For the central difference method, write a script m-file and use the 2 point estimation of the derivative at the end points. Plot the data file and the derivative on one plot. Submit code and run results, m-file and run results plus plot. Check your results with Matlab's diff function. How does Matlab/Octave numerically calculate derivatives? Optional: investigate Matlab cfit/differentiate L LUI VIDIUL VICV ICI Lab11.txt 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.1 1.2 1.3 1.4 1.5 0.000 0.005 0.020 0.045 0.079 0.126 0.181 0.243 0.323 0.410 0.500 0.603 0.715 0.847 0.993 1.113 1.267 1.438 1.600 1.825 2.007 2.207 2.448 2.618 2.856 3.140 3.426 3.653 3.874 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started