Introduction to Programming Python and C++

Tag Archives: #WSQ13

WSQ13 – Babylonian Method

Here you can find my code for WSQ13:
https://github.com/finntec/wsq13.git

WSQ 13: Babylonian method

It was easy after knowing how the babylonian method worked:
link to video that explains babylonian method:

link to my code:
https://github.com/cortesivan96/WSQs/blob/master/babylonian%20method%20(WSQ13)

WSQ13

Para este WSQ vi un video en youtube sobre el método babilónico. Logré deducir casi todo con mi propia lógica pero en un momento llegué a atascarme. Por suerte estaba haciéndola durante mi clase de programación y Ken me dio un empujoncito que me ayudó a ingeniármelas. Aquí está el código. //Babylonian Method #include <iostream> […]

WSQ13

WSQ13

I wrote a program that calculates the square root of a number using the Babylonian method. A function baby receives any number and returns a float. https://github.com/DianaJU/Write/blob/master/baby.py

WSQ13 – Babylonian Method

Short and simple. Here’s my code: https://github.com/Dragv/wsq13/tree/master

WSQ13

GitHub code link

WSQ13

Here is my code 😀
https://github.com/FernyAlanis/wsq11-17/blob/master/WSQ13

#WSQ13

Foto: https://flic.kr/p/sNh6BL Este WSQ estuvo fácil, solo tuve que ver de que trataba el método  y lo pude hacer. Aqui esta el link de mi código: https://github.com/BrayanGc/Codigos/blob/master/BaMe.cpp

#WSQ13

#include <iostream> using namespace std; float raiz (float a){ float x = a / 2; for (int i=0; i <20; i++){ x = .5*(x+(a/x)); } return x; } int main (){ float a, r; cout << “Escribe un numero al que quieras sacarle su raiz cuadrada “; cin >> a; float s = raiz (a); […]

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).