can anybody find square root of 417 ....step by step
Answers
Step-by-step explanation:
The Babylonian Method also known as Hero's Method
See below how to calculate the square root of 417 step-by-step using the Babylonian Method also known as Hero's Method.
In this case we are going to use the 'Babylonian Method' to get the square root of any positive number.
We must set an error for the final result. Say, smaller than 0.001. In other words we will try to find the square root value with at least 2 correct decimal places.
Step 1:
Divide the number (417) by 2 to get the first guess for the square root .
First guess = 417/2 = 208.5.
Step 2:
Divide 417 by the previous result. d = 417/208.5 = 2.
Average this value (d) with that of step 1: (2 + 208.5)/2 = 105.25 (new guess).
Error = new guess - previous value = 208.5 - 105.25 = 103.25.
103.25 > 0.001. As error > accuracy, we repeat this step again.
Step 3:
Divide 417 by the previous result. d = 417/105.25 = 3.9619952494.
Average this value (d) with that of step 2: (3.9619952494 + 105.25)/2 = 54.6059976247 (new guess).
Error = new guess - previous value = 105.25 - 54.6059976247 = 50.6440023753.
50.6440023753 > 0.001. As error > accuracy, we repeat this step again.
Step 4:
Divide 417 by the previous result. d = 417/54.6059976247 = 7.6365237911.
Average this value (d) with that of step 3: (7.6365237911 + 54.6059976247)/2 = 31.1212607079 (new guess).
Error = new guess - previous value = 54.6059976247 - 31.1212607079 = 23.4847369168.
23.4847369168 > 0.001. As error > accuracy, we repeat this step again.
Step 5:
Divide 417 by the previous result. d = 417/31.1212607079 = 13.3992001132.
Average this value (d) with that of step 4: (13.3992001132 + 31.1212607079)/2 = 22.2602304106 (new guess).
Error = new guess - previous value = 31.1212607079 - 22.2602304106 = 8.8610302973.
8.8610302973 > 0.001. As error > accuracy, we repeat this step again.
Step 6:
Divide 417 by the previous result. d = 417/22.2602304106 = 18.7329597362.
Average this value (d) with that of step 5: (18.7329597362 + 22.2602304106)/2 = 20.4965950734 (new guess).
Error = new guess - previous value = 22.2602304106 - 20.4965950734 = 1.7636353372.
1.7636353372 > 0.001. As error > accuracy, we repeat this step again.
Step 7:
Divide 417 by the previous result. d = 417/20.4965950734 = 20.3448425705.
Average this value (d) with that of step 6: (20.3448425705 + 20.4965950734)/2 = 20.420718822 (new guess).
Error = new guess - previous value = 20.4965950734 - 20.420718822 = 0.0758762514.
0.0758762514 > 0.001. As error > accuracy, we repeat this step again.
Step 8:
Divide 417 by the previous result. d = 417/20.420718822 = 20.4204368923.
Average this value (d) with that of step 7: (20.4204368923 + 20.420718822)/2 = 20.4205778572 (new guess).
Error = new guess - previous value = 20.420718822 - 20.4205778572 = 0.0001409648.
0.0001409648 <= 0.001. As error <= accuracy, we stop the iterations and use 20.4205778572 as the square root.
So, we can say that the square root of 417 is 20.42 with an error smaller than 0.001 (in fact the error is 0.0001409648). this means that the first 3 decimal places are correct. Just to compare, the returned value by using the javascript function 'Math.sqrt(417)' is 20.42057785666214.
Note: There are other ways to calculate square roots. This is only one of them.