## Course Review

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

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

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 ›

Hi programigos! This is the video tutorial/code for solving the third question on our final exam: smallest_of_four. Enjoy and good luck! #include <iostream> using namespace std; float smallest_of_four(int a, int b, int c, int d) { if(a<=b, a<=c, a<=d) return a; else if(b<a, b<=c, b<=d) return b; else if(c<a, c<b, c<=d) return c; else { […]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 ›

So here is the first post about our progress in the project. We have eight weeks left. We had two ideas: the first one consisted on assembling a robotic arm and program it; the second one, in making an app (for cellphone or computer) very similar to Duo-lingo, but instead of learning new idiom, it […]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 ›