Question: Problem 2 : Make an array of 5 zeros, and then start with a value of h = 1 . You want to find approximations
Problem : Make an array of zeros, and then start with a value of You want to find approximations for the derivative of near Make a for loop; after
each itteration, reduce the value of by half. Store your values in the array you created, and print out all the values when you are done.
Problem : Print the graphs of and on the same graph with Include a legend with labels for each. You will need to choose appropriate sizings
for the window, and spacing for the values of
Problem : Recall that you can find the Maclaurin series approximation with terms for as
~~
Make a function called mac that returns this approximation. Then calculate the true error for ; you will need to choose an adeequite spacing. Store these errors
in an array, then graph out the errors as a function of
:
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
