Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USING MATLAB PLEASE (a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate centered finite-difference
USING MATLAB PLEASE
(a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate centered finite-difference estimate of the derivative of f(x) = cos(x) at x = 1? (b) Repeat for the derivative estimated by differentiating the interpolat- ing cubic polynomial (using polyfit, polyder, polyval in Matlab) that goes through the function values at x = 0.7,0.9, 1.1, 1.3 (a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate centered finite-difference estimate of the derivative of f(x) = cos(x) at x = 1? (b) Repeat for the derivative estimated by differentiating the interpolat- ing cubic polynomial (using polyfit, polyder, polyval in Matlab) that goes through the function values at x = 0.7,0.9, 1.1, 1.3Step 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