WSQ 10

This code was so simple.

First, you need to know what the Babilionian Method for a Square Root is. You can fin the information here:

Square roots with pencil and paper: the Babylonian method

And after you understand how that method works, you better know how to make your own library:

1.-Code a function.

2.-Do NOT  use main( ).

3.-Save it as “name”.h

4.-Call that exact function from your main in a document .cpp

DONE!

Code:

https://drive.google.com/a/itesm.mx/file/d/0B0piRrApgTLyaFNUbkNvenEzLVk/view?usp=sharing

Library:

https://drive.google.com/a/itesm.mx/file/d/0B0piRrApgTLyLW0wbGZjRTNxVVU/view?usp=sharing

 

Leave a comment