-
Recent Posts
Recent Comments
Archives
Categories
Meta
Tag Archives: #wsq14
WSQ14 – Estimating e
Comments Off on WSQ14 – Estimating e
Posted in Blogs, Syndicated, TC1014 Blogs
#WSQ14
Hi, I have finished my wsq14, so it had a part I didn’t (maybe don’t) understand at all but I could achieve it by checking the link http:/
#WSQ14
Hi, I have finished my wsq14, so it had a part I didn’t (maybe don’t) understand at all but I could achieve it by checking the link http:/
CALCULATING “E”
Hey everyone, here is my #WSQ14 code #TC1017
Actually my code didn’t compile, so I cheked my colleagues videos and activities and now
I understand the reason of mine didn’t compile. Flipped learning WORKS!
LINK: https:/
E
I cant really know if this program will run or not, i made it on a computer of a hotel in monterrey and i do not have time to download cigwin, but here is my code:
https:/
#wsq14 Estimating e
for this wsq i had to made a function that calculate e and giveme with the decimal points that I wanted.
this is my code: https:/
Is in dropbox, because I had some problems with my repository in github, I will fixed.
Comments Off on #wsq14 Estimating e
Posted in Blogs, Syndicated, TC1014 Blogs
#WSQ14
In this program you need to estimate the constant “e”, to do this you need to ask the user the number of decimals points, and that will be your precision.
If you want to know about the formula that we are going to use and things about that, you can check this page: http:/
To organize the program I created a function called factorial, to calculate the factorial that will be introduced in the function calculateE.
The function calculateE is float, because is going to return a non integer number.
The loop do-while, inside the function calculateE, is useful to add the value according with the formula, but this loop will depend by the precision that the user wants.
Finally, you need to truncate the number calculated depending by the precision asked.
Here you can see my code and the program working.
If you don’t know how to round a float, you can check this page: http:/
Also, here you can find my code:
GitHub: https:/
Google Drive: https:/
Comments Off on #WSQ14
Posted in Blogs, Syndicated, TC1017 Blogs