Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Award: 10.00 points In section 4.4, an optimal step size formula, hopt 3 3 = M for the central difference for the first derivative
3. Award: 10.00 points In section 4.4, an optimal step size formula, hopt 3 3 = M for the central difference for the first derivative 1 is derived. A) Derive similar formula to the forward difference. B) Use forward difference approximations of O(h) to estimate the first derivative of the function f(x) = -0.1x4 0.15x3 0.5x2 0.25x + 1.2 at x = 0.5 using a step size h = 1, 10-1,10-2,...,10-10 then calculate the true error at these approximations. C)plot step size .vs. true error and investigate that the formula obtained in part A) is consistent. [Hint: see EXAMPLE 4.5 page 127] 3. Award: 10.00 points In section 4.4, an optimal step size formula, hopt 3 3 = M for the central difference for the first derivative 1 is derived. A) Derive similar formula to the forward difference. B) Use forward difference approximations of O(h) to estimate the first derivative of the function f(x) = -0.1x4 0.15x3 0.5x2 0.25x + 1.2 at x = 0.5 using a step size h = 1, 10-1,10-2,...,10-10 then calculate the true error at these approximations. C)plot step size .vs. true error and investigate that the formula obtained in part A) is consistent. [Hint: see EXAMPLE 4.5 page 127]
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