Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152
‘#wsq14’ Articles at TC101 Fall 2015, Page 4
Introduction to Programming Python and C++

Tag Archives: #wsq14

Kan lahunI have many doubts about this WSQ, and to be completely…

Barely Visible Milky Way

Kan lahun

I have many doubts about this WSQ, and to be completely honest, I don’t even know if I did what was required. Anyway, Euler’s number is complicated.

I found information in this webpage and used it as a guide.

You can check out my code here.

#WSQ14

Ok so this time, the program must approximate the value of e, it was really confusing at firts, but here is a page that can help you. http://www.geeksforgeeks.org/program-to-efficiently-calculate-ex/
Code on github: https://github.com/samanthariverac/T…

Estimating e

Here is my code for the WSQ14
https://github.com/dianagdv/TC101/blob/master/WSQ14

WSQ 14

Hello everybody, this time I found the instructions confusing, I mean, I tried my best interpreting the instructions and I came up with this: https://github.com/OctavioIRG/TC1017/blob/master/WSQ-s/eu.cpp I hope its rigth, I coulnd’t make it print only once the number But it does give you the wirte decimals up to 15 digits after the decimal point. I […]

#WSQ14-Estimating e

Doing this WSQ was more or less easy for me, because it was kind of the same as the last WSQ but the difference was that the user should gave the estimation of the decimals of e and that was the tough part. Here’s the code in Atom: Here’s the code in Cygwin: I got […]

The number e #WSQ14

Hi! This WSQ consisted on receiving a number and using it to set the decimal precision for the calculation of e. This one was one of the toughest since it required more tools than the previous WSQs. First, to do the infinite calculation for the value of e, I used two while loops and the formula of the sum of 1/n!. To limit the precision I did two things:

1. I created a loop that turned the input into a space in the decimal, so 2 would give 0.01.

2. I used that value to stop a calculation when an added number was bigger that the limit.

Finally, I searched on the web for functions to limit the precision of floats. I found one called setprecision(), which resulted to be useful for the output value. Here’s the page with the information of the function: http://www.cplusplus.com/reference/iomanip/setprecision/

And here’s the code: https://github.com/CarlosGallegosT/Codes007/blob/master/e.cpp

Image Source: http://www.gogeometry.com/software/word_cloud_sw_e_euler_number.html

                

WSQ14

I had a problem in this WSQ that i couldn’t fix, and it’s that i can only reach 5 decimal points of precision with the float and double variables.

here is my github code: https://github.com/MiguelAngelCardenas/WSQ14/blob/master/e.cpp

WSQ14: e number

The natural number represented by the letter e; make it posible to calculate, at leats with an approximation desired; that is what the WSQ14 asks me to do. So what I have to do is to make a program that calculates the value of e … Continúa leyendo WSQ14: e number

WSQ14, Fun with Euler’s number

Hi everybody. There are only two WSQ’s left, I’m so freaking excited. The image: The code: https://github.com/hrglez/TC1017/blob/master/WSQ14%20-%20Euler Hugs for everyone, good luck, work hard. See you!

#WSQ14 mathematical constant e

Mathematical constant

Hello in this WSQ I am going to show the mathematical constant e or Euler’s number, this was a task really hard and that was because I didn’t know what is constant e after seeing some videos and searching in internet, I found……… 42 hahaha.

(If you get it, maybe we will be friends)

 

So for now, I show my code in github:

 

Some Links if you want to know about this:

http://rosettacode.org/wiki/Euler_method

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

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

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