Author Archives: Karen Zazueta

#Mastery04 #TC1014

How to submit work via GitHub.

Youtube link:

https://www.youtube.com/watch?v=jPqD67wOoOg

#WSQ13 #TC1014

To get the square root in this programm we used the babylonian method, wich is a way to fin it without  calculator. In this video there is a good explanation about it: https://www.youtube.com/watch?v=jTWxFGmWoZg

GitHub link:

https://github.com/akZazueta31/WSQ/blob/master/wsq13

#WSQ12 #TC1014

This programm can calculate the greatest common divisor of two numbers given by the user, using the Euclids method.

Here is the info of the mothod:

http://people.cis.ksu.edu/~schmidt/301s11/Exercises/euclid_alg.html

GitHub link:

https://github.com/akZazueta31/WSQ/blob/master/wsq12

#WSQ10 #TC1014

In this programm I worked with lists. The program asked the user for ten numbers and put them in a list. To do this I used a loop and L.appedn(v), L is the name of the list and (v) is the name of the variant.

Then I jus created de functions to get the avarage, the total and the standar deviation.

GitHub link:

https://github.com/akZazueta31/WSQ/blob/master/wsq10

More info:

http://www.tutorialspoint.com/python/python_lists.htm

 

#WSQ09 #TC1014

For this programm I just created a function to calculate the factorial of a number.

The factorial function means to multiply a series of descending natural numbers. For ejample:

4!=4*3*2*1=24

GitHub link:

https://github.com/akZazueta31/WSQ/blob/master/wsq09

For more info:

http://mathworld.wolfram.com/Factorial.html

#WSQ08 #TC1014

This video helped me a lot to understend how to use def: https://www.youtube.com/watch?v=rGFnbrwlLVA

#WSQ07 #TC1014

For this programm I used a while loop.

#WSQ06 #TC1014

#WSQ05 #TC1014

This temperature progran was easy. First I had to ask the user the temperature in fahrenheit with an input, then I used the formula and with if-else it can show if the water boils or not (water boils at 100 degrees celcius).

#Mastery28 #TC1014