Tag Archives: #WSQ13

Learn To Program 2015-04-06 19:49:00

WSQ13

La raíz cuadrada de un numero positivo es un numero que al multiplicarlo por si mismo, resulta el valor del primero.
El método babilónico consiste en aproximar la base y la altura de un triangulo hasta que sean iguales, mismas que formaran un cuadrado, cuadrado que tendra la misma area.

He utilizado la siguiente información para comprender el metodo que usaban en Babilonia hace tantisimo tiempo, y que ahora nosotros, lo hemos hecho por medio de un lenguaje de programación.
http://es.wikipedia.org/wiki/Ra%C3%ADz_cuadrada
http://es.wikipedia.org/wiki/C%C3%A1lculo_de_la_ra%C3%ADz_cuadrada
http://pensamiento-matematico.blogspot.mx/2013/05/metodo-babilonico-de-resolucion-de.html

**********************
Programa hecho en Python:
**********************
https://github.com/A01630323/Learn-To-Program/blob/master/WSQ13.py

Learn To Program 2015-04-06 19:49:00

WSQ13

La raíz cuadrada de un numero positivo es un numero que al multiplicarlo por si mismo, resulta el valor del primero.
El método babilónico consiste en aproximar la base y la altura de un triangulo hasta que sean iguales, mismas que formaran un cuadrado, cuadrado que tendra la misma area.

He utilizado la siguiente información para comprender el metodo que usaban en Babilonia hace tantisimo tiempo, y que ahora nosotros, lo hemos hecho por medio de un lenguaje de programación.
http://es.wikipedia.org/wiki/Ra%C3%ADz_cuadrada
http://es.wikipedia.org/wiki/C%C3%A1lculo_de_la_ra%C3%ADz_cuadrada
http://pensamiento-matematico.blogspot.mx/2013/05/metodo-babilonico-de-resolucion-de.html

**********************
Programa hecho en Python:
**********************
https://github.com/A01630323/Learn-To-Program/blob/master/WSQ13.py

Square Root (Babylonian Method)

In this case we can see an example of recursiveness in a program. As always the source code is in GitHub.

The square root Babylonian method consists in doing a series of sums and divisions in order to calculate the value of the square root of a number. It is approximated by solving an equation that you can check in the page link pasted before.

This program is written so that it asks the user for the number, the number that he wants to use as a first guess and the number of runs or iterations it want to use to calculate the value. Any way the program should stop if the value of the next iteration is the same as the one before. 

After each iteration the number of the run and the estimated value ar displayed to show the user the different values calculated. 

This is my of my

Babylonian method

#WSQ13

Para esta actividad necesité buscar en Wikipedia cual es el metodo para calcular la raíz cuadrada de un numero, el algoritmo.

Una vez esto, fue sencillo realizar una función que la calculara.

Aquí está el código y la foto del programa funcionando:

BABYLONIAN METHOD

 #WSQ13

Here is my solution to Babylonian Method.

LINK: https://github.com/JairBarragan/WSQs/blob/master/WSQ13

Squared root

Here it is!, using the babilonian method


https://github.com/grgc25/Tareas/blob/master/WSQ13_babilonian.py

Wsq 13

Babylonian Method


Helpfull Sources:
http://www.deltacollege.edu/dept/basicmath/Babylonian.htm
http://www.geeksforgeeks.org/square-root-of-a-perfect-square/
Github Link to my code:
https://github.com/FlorethGonzalez/Wsq-s/blob/12c2d8fed894856d0f1cecc491875094a6073905/wsq13.py

Wsq 13

Babylonian Method


Helpfull Sources:
http://www.deltacollege.edu/dept/basicmath/Babylonian.htm
http://www.geeksforgeeks.org/square-root-of-a-perfect-square/
Github Link to my code:
https://github.com/FlorethGonzalez/Wsq-s/blob/12c2d8fed894856d0f1cecc491875094a6073905/wsq13.py

Wsq 13

Babylonian Method


Helpfull Sources:
http://www.deltacollege.edu/dept/basicmath/Babylonian.htm
http://www.geeksforgeeks.org/square-root-of-a-perfect-square/
Github Link to my code:
https://github.com/FlorethGonzalez/Wsq-s/blob/12c2d8fed894856d0f1cecc491875094a6073905/wsq13.py