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
-
How to find the position of an element in a vector without using the find function
2706 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2107 Solvers
-
Number of 1s in a binary string
8572 Solvers
-
The sum of the numbers in the vector
589 Solvers
-
66 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!