Question: Problem 4 . - We can use an iterative method to calculate the square root of any number This method specifies that for any positive

Problem 4.- We can use an iterative method to calculate the square root of any number This method specifies that for any positive number S, its square root )=(S2 can be approximated by applying the following procedure.
Give an initial guess for the root, r0= Initial Guess (any positive integer)
The next approximation is obtained using the following iterative formula.
ri+1=12(ri+sri), where i=0,dots,n
Repeat step 2 until ,ri+1=ri or (ri-1-ri),=0.001
Questions
Demonstrate that the above method can be used to calculate correctly the 9872. This means S=987. Assume that the initial guess r0=10. show all your calculations and fill out the following table as you calculate every iteration.
Table
\table[[r0=,10],[r1=,],[r2=,],[r3=,],[r4=,],[r5=,],[r6=,],[r7=,],[r8=,],[r9=,],[r10=,],[,]]
How many iterations or repetitions are needed to find the correct result with an error 0.001
Number of Iterations
Draw the flow diagram that can be used to describe the implementation of the iterative in any computer language, assuming that the user should provide the values of S,r0 and .
Use Tinkercad to implement the program using an Arduino and demonstrate that it runs and obtains the correct answer.
 Problem 4.- We can use an iterative method to calculate the

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!