Q8. Find the square root of 7.84
Answers
Answer:
sqrt(7.84)' is 2.8.
Step-by-step explanation:
i hope this is right
Answer:
Step 1:
Divide the number (7.84) by 2 to get the first guess for the square root .
First guess = 7.84/2 = 3.92.
Step 2:
Divide 7.84 by the previous result. d = 7.84/3.92 = 2.
Average this value (d) with that of step 1: (2 + 3.92)/2 = 2.96 (new guess).
Error = new guess - previous value = 3.92 - 2.96 = 0.96.
0.96 > 0.001. As error > accuracy, we repeat this step again.
Step 3
Divide 7.84 by the previous result. d = 7.84/2.96 = 2.6486486486.
Average this value (d) with that of step 2: (2.6486486486 + 2.96)/2 = 2.8043243243 (new guess).
Error = new guess - previous value = 2.96 - 2.8043243243 = 0.1556756757.
0.1556756757 > 0.001. As error > accuracy, we repeat this step again
Step 4:
Divide 7.84 by the previous result. d = 7.84/2.8043243243 = 2.7956823439.
Average this value (d) with that of step 3: (2.7956823439 + 2.8043243243)/2 = 2.8000033341 (new guess).
Error = new guess - previous value = 2.8043243243 - 2.8000033341 = 0.0043209902.
0.0043209902 > 0.001. As error > accuracy, we repeat this step again.
Step 5:
Divide 7.84 by the previous result. d = 7.84/2.8000033341 = 2.7999966659.
Average this value (d) with that of step 4: (2.7999966659 + 2.8000033341)/2 = 2.8 (new guess).
Error = new guess - previous value = 2.8000033341 - 2.8 = 0.0000033341.
0.0000033341 <= 0.001. As error <= accuracy, we stop the iterations and use 2.8 as the square root.
So, we can say that the square root of 7.84 is 2.8 with an error smaller than 0.001 (in fact the error is 0.0000033341). this means that the first 5 decimal places are correct. Just to compare, the returned value by using the javascript function 'Math.sqrt(7.84)' is 2.8.