Calculate the square root of a given positive number a using the Babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method). Use 1 as starting point and calculate the nth iteration step!
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers46
Suggested Problems
-
2369 Solvers
-
Number of 1s in the Binary Representation of a Number
481 Solvers
-
316 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!