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 h You want to find approximations forthe derivative of cosx near x 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
