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 Solvers47
Suggested Problems
-
Number of 1s in a binary string
11578 Solvers
-
Split a string into chunks of specified length
2157 Solvers
-
Who is the smartest MATLAB programmer?
793 Solvers
-
Find last zero for each column
731 Solvers
-
801 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!