Problem 42823. Babylonian method
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 commentsProblem Recent Solvers44
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15467 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
810 Solvers
-
How long do each of the stages of the rocket take to burn?
272 Solvers
-
360 Solvers
-
Mersenne Primes vs. All Primes
587 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!