Question: This problem studies the second derivative of the following function in python: f ( x ) = 1 cos x / ( x ^ 2
This problem studies the second derivative of the following function in python:
fx cos xx
We take x
a Start by analytically evaluating the second derivative, and plugging in x
b Let h take on the values and produce a loglog plot of the absolute error in the first centraldifference approximation to the second derivative.
c Introduce a new set of points to the previous plot, this time evaluating the first
centraldifference approximation to the second derivative not of fx but of the
analytically rewritten version you arrived at in the previous chapter recall: you had
used a trigonometric identity which enabled you to avoid the cancellationAll in python code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
