In this WSQ I asked the user for a lower and an upper bound, then I It was challenging but I found that researching and understanding the concept completely was crucial. https://github.com/DianaJU/Write/blob/master/lychrel.py
This is a program that calculates the greatest common denominator of two positive integers using Euclid’s algorithm. https://github.com/DianaJU/Write/blob/master/gcd.py
I wrote a program that calculates the square root of a number using the Babylonian method. A function baby receives any number and returns a float. https://github.com/DianaJU/Write/blob/master/baby.py
Recursion and stuff… Welcome to my brand new post. This time I want to show how to use recursion in a very simple function. We already did this in an iterative way and I thought it would be nice to show how to do it in the recursive way. I’m talking about the fibonacci numbers. […]
This post is about mastery number 18. The use of nested conditionals. I explained a simple example in the next video but I would also like to share other resources such as tutorialspoint.com’s exlanation of nested conditionals. My video: Take a look to it. http://www.tutorialspoint.com/cplusplus/cpp_nested_if.htm Another video I watched is about if/else interaction […]
Here is my code https://github.com/OctavioIRG/TC1017/blob/master/WSQ-s/run.cpp Well I got helped and I read Carlo’s solution. The thing is that my answer should work but i had a little problem with the way my number are added.
This is a cool WSQ, in fact this was one of my favorites. Why? Because at first it was hard, nevertheless I did it! Honestly, it took me around two hours to finish this WSQ. Any way, here is my code: https://github.com/OctavioIRG/TC1017/commit/a2fc843ad2b3ba057b40c4b2f2becaebdf9f12f5 I thought it would be cool to show the user how the babilonian […]
So, it´s the last one… The purpose of this post I to tell you, my dear reader, my experience with Scilab. In a few words; Scilab is a geat tool, I read the manual and performed almost all the examples. One of the things that surprised me was the 3D Plot tool. More over, it’s […]
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 […]
Take a look to my last weeks calendar. Yeah… so, many things to do and lack of organization. The worst combination ever. I haven’t finished my final project and I allmost give up with it last week. The only thing I am doing well is the WSQ work. In the last picture you can see […]