Question: Problem 2 : Make an array of 5 zeros, and then start with a value of h = 1 . You want to find approximations

Problem 2: Make an array of 5 zeros, and then start with a value of h =1. You want to find approximations forthe derivative of cos(x) near x =7. Make a for loop; after each itteration, reduce the value of h by half. Storeyour values in the array you created, and print out all the values when you are done.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!