Question: ( 1 ) The function f ( x ) = x 2 has a minimum at x * * = 0 . It is easy

(1) The function f(x)=x2 has a minimum at x**=0. It is easy to check that f'(0)=0 but that f''(0)0. Use Newton's method to approximate this minimum. Save the number of iterations it takes, with the initial iteration counting as an iteration, in a variable named A4. Save the final iteration in a variable named A5.
(2) Repeat the process above with f(x)=x500. Save the number of iterations Newton's method took in A6 and save the final iteration in A7.
(3) Repeat the process above with f(x)=x1000. Save the number of iterations Newton's method took in A8 and save the final iteration in A9.(Your final iteration for this and the previous part may look strange, but you should be able to confirm that f' is very close to zero for these iterations.)
( 1 ) The function f ( x ) = x 2 has a minimum at

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!