WSQ13 – Babylonian Method

Hey everybody!!!

Today I wrote a programm which calculates the square root of a number using a computing method called BABYLONIAN. It’s very simple, and you can learn how it works on Wikipedia.

http://en.wikipedia.org/wiki/Methods_of_computing_square_roots

On my code, I put a cout line to see how is it working, but you can just delete it if you want. Enjoy it!

https://github.com/juanpsantana/WSQs/blob/master/WSQ13.cpp

CC BY 4.0 WSQ13 – Babylonian Method by Juan Pablo Santana is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.