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
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
522 Solvers
-
Create a vector whose elements depend on the previous element
805 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14321 Solvers
-
742 Solvers
-
6612 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!