Introduction to Programming Python and C++

Tag Archives: #wsq14

WSQ14 – Estimating e

Here you can find my code for WSQ14:

WSQ14: Estimating e

This was an easy WSQ, Thanks to the help of my buddy Rene
Here is my code:

Estimating e

This task was not that hard. We had to make a function that computes an estimation of e, which is a number very used in finances. The trick was our number must have the accuracy given by the user. Here… Continue Reading →


It was a little difficult and had to look for help with other people from the course

Here’s the link: WSQ14

WSQ #14

Here’s my WSQ #14 It was easy this time because I did my Quiz 11 before and it was the same thing XP Code: wsq14


Este WSQ está más difícil de lo que parece. Tuve que apoyarme mucho en Ken para hacerlo. Ya lo había hecho para un quiz pero me había equivocado porque entendí mal la forma en la que se daba la precisión. Ken me ayudó a entenderlo y pues aquí está el código que hice. //WSQ14 Euler […]


Here is my code to wsq14, hate euler, love euler, our relationship is complicated 3

My code in github:


After having done the #Quiz11, this WSQ was one of the easier ones, even if it took a lot of digging in StackOverflow and, looking at details of semi-finished code from beginners (like me, obviously) with the same problems as myself. e’s an awesome number, check the GitHub code link for the WSQ.


Foto: En este WSQ tuve algunos problemas porque al momento de hacer la función me equivocaba en los valores de la variable, pero le pedi ayuda a un amigo y lo arregle. Aquí esta mi código:


#include <iostream> #include <cmath> using namespace std; long double precision( int n, long double e) { if (n == 0){ return ceil (e); } else if (n == 1){ return floor ((e * 10 ) + 0.5) / 10; }else if ( n ==2){ return ceil((e * 100 ) + 0.05) / 100; } else […]

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).