Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Newtons method to compute sqrt(R) in double precision by x n+1 = (x n +R/x n ) (20 points) x n+1 = [x n
Use Newtons method to compute sqrt(R) in double precision by
- xn+1 = (xn+R/xn) (20 points)
- xn+1 = [xn(xn2+3R)]/[3xn2+R] (20 points)
For R = 0.001, 0.1, 10, and 1000 with stopping criteria of 1) |xn+1-xn|< 10-14 2) |xn+1-xn|< 10-6.
- Record the number of iterations required to reach the stopping criteria for each of the two methods for each value of R.
- Plot the values of xn for methods a) and b) in the same plot with separate plots for the different R values.
- How sensitive are the iteration counts to your selected starting value?
- Which method converge the fastest?
- Why?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started