Skip to main content

Posts

Showing posts with the label finding square root of numbers

Finding square root of a number by Babylonian method

The Babylonian method for finding square roots involves dividing and averaging, over and over, to obtain a more accurate solution with each repeat of the process. Inorder to find the square root of a number you need to follow the following steps. Make an initial guess for the square root  Divide the original number by this guess Find out the mean of the 2 numbers check if the difference between guess and quotient is less than the error if not then repeat the process again. use this mean value as your next guess Let us take an example of finding out the square root of 7 to 3 decimal places let n = 7 and error = 0.001 let us take an initial guess = 3 FIRST ITERATION Step 1: Guess = 3  Step 2: Divide 7 by 3 = 2.3333333 Step 3: Find average of 3 and 2.333333 = 2.666666 (because (2+2.333333)/2 = 2.666666) Step 4: difference (3 - 2.3333333) > error hence repeat the process again Step 5: Next guess is 2.666666 SECOND ITERATION Step 1: Guess ...