Doing this WSQ was more or less hard for me, because first I did not find an acceptable website for knowing how the babylonian calculated the square root, and then because I couldn’t find a way to end the loop. My friend Carlos Guerrero and my teacher Ken Bauer helped me.
Here’s the code in Atom:
Here’s the code in Cygwin:
I got this out of: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method
***GitHub is pending***
#WSQ13-Babylonian Method by diegoalatorre is licensed under a Creative Commons Attribution 4.0 International License.