Category Archives: TC1017 Blogs

Babylonian method – #WSQ13 #TC1017

GREATEST COMMON DIVISOR – #WSQ12 #TC1017

 

Here’s the code: WSQ12

Here are the functions I used:

YO SOY 196 – #WSQ11 #TC1017

I actually didn’t know how to do this so I saw on the home page how other persons did, suddenly a blog of a person appear recomending this guys post: https://charliegdrummer.wordpress.com/2015/10/23/wsq11-a-pain-in-the-feelings/ , It made a lot of things clearer, then I saw that other persons in the home page were using the BigIntegerLibrary.hh Library, so I saw the video that ken uploaded in the page and understood it, I had to see the video twice to understand.

Here’s the code: WSQ11

[The credit of the image belongs to https://flic.kr/p/5otM4s]

 

#WSQ10 #TC1017

For this WSQ I researched for arrays information(I didn’t understand this the last course, but now i understand it thanks to the following page:http://www.cplusplus.com/doc/tutorial/arrays/)  and the standard deviation formula (here’s the link https://www.mathsisfun.com/data/standard-deviation-formulas.html).

Here’s the code: WSQ10

[The credit of the image belongs to https://flic.kr/p/6WxYTc]

Factorial calculator – #WSQ09 #TC1017

The only problem I had is that the first time my program gave me the result 0 when I asked for 0!(which is 1), but then I fixed with an “If” loop into the “for” loop.

Here’s the code: WSQ09

[The credit of this image belongs too https://flic.kr/p/qag4GQ]

On to Functions – #WSQ08 #TC1017

I remember how to do functions from the past semester, so this wasn’t a problem for me.

Here’s the code: WSQ08

[The credit of this image belongs to https://flic.kr/p/nYmeCZ]

#WSQ07 #TC1017

This was easy, this WSQ is for introduce us to the loops.

Here’s the code: WSQ07

[The credit in this image belongs to https://flic.kr/p/6ZTcvF]

Pick a number – #WSQ06 #TC1017

This was my first challenge, I didn’t remember how to put random numbers in a program, so I researched on the internet and I found this http://www.cplusplus.com/reference/cstdlib/rand/ it explains the rand function and the library you have to use to call it.

Here’s the code: WSQ06

[The credit of this image belongs to https://flic.kr/p/axv5AS]

Temperature – #WSQ05 #TC1017

This was easy too, the only thing I didn’t remember was the convertion formula, but Ken put it in the page (Thanks!).

Here’s the code: WSQ05

[The credit of this image belongs to https://flic.kr/p/jKpEY9]

An About Page – #WSQ04 #TC1017

Hi, I’m Eduardo Torres, I am 19 years old. I’m from Los Mochis, Sinaloa, Mexico. I came to study to Tec de Monterrey Campus Guadalajara a year ago. Im studying Mechanical Electrical Engineering because I like physics and challenges, and yeah, im perfectly shure that i made a good choice.

I love music, my favorite genre is post punk revival (Arctic Monkeys, The Strokes, The Libertines, Interpol, The Vaccines) but I like all other rock subgenres too. I play the drums and I love it, I have a band in my hometown called “Track” (Yeah, I don’t like the name either). My favorite movie is “Whiplash” for obvious reasons. And my hero is Buddy Rich.

 [The credit of this image belongs to https://flic.kr/p/bvFaLu]