Question: Please use python 3Thank u Part B (8 points) (Adapted from Langtangen B.8) Consider the following function: f(r) = cos(ea.) a numerical approximations to its
Part B (8 points) (Adapted from Langtangen B.8) Consider the following function: f(r) = cos(ea.) a numerical approximations to its derivative/Ox)in the interval OS x 1 Then plo t your numerical result for f'(x) using the linspace x f provided below with 5000 points in it. The analytic derivative of this function can be calculated in this case, giving Plot the analytic derratief'(x) below, using the same discrete x-range d from above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
