Question: I need some help answering questions 1-4 and help creating a code in C syntax The sqrt(2) Using Fixed Point Iteration 1. Challenged to use

I need some help answering questions 1-4 and help creating a code in C syntax I need some help answering questions 1-4 and help creating a code

The sqrt(2) Using Fixed Point Iteration 1. Challenged to use fixed point iteration to compute sqrt(2), Sara reasons that sqrt(2) is a solution to X^2 = 2, so she rewrites this in a form suitable for fixed point iteration by dividing both sides by x to get x = 2/x. Do you expect Sara's idea to work? Why or why not? 2. Seeing that her first idea doesn't work, Sara returns to X^2 = 2 x^2 + x = 2 + x x(x + 1) = 2 + x (2 + x)/(x + 1) This new idea will work. How can you tell this without running the program? Do you expect it will be faster or slower than interval bisection? Why? 3. Implement both methods to confirm your theoretical expectations. Use an initial guess of 1 and compute 15 refinements. Print the sequence of approximations using %20.161f in C (why?). 4. Enhance the output of method 2 to print not only the converging sequence of approximations but also the error at each stage and the ratio of the current error to the previous error. We suggest printing the error using scientific notation, (%e in c) (why?). Does this conform to expectation

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 Databases Questions!