Skip to main content

Reading my life

WSQ13 - Babylonian Method

1 min read

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

WSQ12 - Greatest common Divisor

1 min read

Hey everybody!

Here is the code of WSQ13, A Gratest Common Divisor programm. This is the first post after Spring Break vacations, so I will post a lots of things on this day. I hope you enjoy it.

Here is the link to my code:

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