Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions