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:

wsq13.1

Here’s the code in Cygwin:

wsq13.2

I got this out of: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method

***GitHub is pending***

CC BY 4.0 #WSQ13-Babylonian Method by diegoalatorre is licensed under a Creative Commons Attribution 4.0 International License.