## Course Review

Here you have the link to my course review. It’s been a pleasure and I am very happy.

Here you have the link to my course review. It’s been a pleasure and I am very happy.

Hi guys! This is the last post I’ll write, to show you a magic, new and wonderful tool that Ken shared with us. It is called Scilab, and it’s just amazing. It does almost literally everything (except writing your posts for Ken’s class). The link for the video is bellow, and enjoy this, my last […]Read Post ›

Here we are: the final exam. In this video/tutorial, I’m going to explain how to easily write the function for the third question of our final exam. Here is the code and enjoy the ride! #include <iostream> #include <vector> using namespace std; float prom_numeros(vector<float> nums) { float accu=0; { for(int i=0; i<nums.size(); i++) { accu=accu+nums[i]; […]Read Post ›

Hello dear friends! A quick tutorial on how to solve the fourth question of the exam. I hope you find this very useful and thanks for watching! Code: #include <iostream> using namespace std; int fibonacci(int n) { int fib=1, pre=0; for(int accu=0; accu<n; accu++) { fib+=pre; pre=fib-pre; } return fib; } int main() { int […]Read Post ›

A tutorial video on how to do the “triangle” function for the final exam. Link and code bellow: #include <iostream> using namespace std; int triangle (int size) { for(int c1=0; c1<=size; c1++) { for (int c2=0; c2<c1; c2++) { cout<<“T”; } cout<<endl; } for (int c1=size-1; c1>0; c1–) { for (int c2=c1; c2>0; c2–) { […]Read Post ›

This is a video that will help you calculate euler’s number, which is an irrational number… I’m having a little trouble with the function because it’s totally ignoring the precision (which is the number that the user gives, but it does calculate euler’s number correctly. Here is the code: #include <iostream> #include <cmath> using namespace […]Read Post ›

Hi guys! It’s me again with a video of how to get the square root of a number using the old Babylonian method. The code and the link to the video are bellow: #include <iostream> #include <cmath> using namespace std; float babylonian_square(float x) { float ans, a=0; ans=x/2; do { cout<<ans<<endl; a=ans; ans=(ans+x/ans)/2; } while(abs […]Read Post ›

Hi guys! I just finished the video for WSQ09, the link and the code are bellow. A brief explanation: this WSQ is about Multipart data and Files. This program opens a text file and tells you the number of characters and files in it. Enjoy and thanks in advance for watching. And the code: #include […]Read Post ›

Here it is, the first time I used vectors. You have to get used to it because the logic of calling a function and then the parameter is not something we are pretty used to, so I need a lot of practice. Also, a friend of mine helped me realizing I have committed a mistake: […]Read Post ›

Hi again! This post is about WSQ05, which can be called WSQ01.2, too. This because is the same program we did in the first assignment, but now we write a function for each calculation (which is pretty easy, by the way). The only thing you need to be careful with is the name of the […]Read Post ›