# …and now my watch has ended

I think this is my last post guys, because guess what? tomorrow is the final exam of the TC101 class for me… I hope 😂 anyway I wanted to say goodbye and I hope my codes and posts were helpful.

And remember   # 🐤 Scilab 🐤

Scilab is free and open source software for numerical computation providing a powerful computing environment for engineering and scientific applications.

To know a little bit of how to use it, I saw this video  I installed it from this link.  # 🅰 ⚫ 🅱

In this WSQ we had to create a function called dot_product that receives two lists of numbers. The function returns what is the dot product of the two lists.

This are some screenshots of my program in the terminal and atom.

and my link to github as always 👉https://github.com/mfcanov/Quiz07.git (Credit goes to http://www.qmed.com/mpmn/gallery/image/engineering-life-chose-me)  # Exam 2

Here is the file that has what were we supposed to do in the exam of the second partial

And the first code is here and is named triangles.

The second one is superpower

Third one is called son of the devil or best known as Fibonacci.

The last one is about palindromes and you’ll find it here.  # Class Review

Well guys, the semester is ending (thank God) and we needed to do a Review of the class. I made a video for this, and here is the link.

The objective of my project is to furnish and facilitate the user the problem of not knowing the lenght and/or angle of an object in an image and give it to them in known dimensions.

1. The first attempt was with the slope equation which they give tou you a point (x1,y1) and a slope “m”, and have to plug it into the formula : y-y1=m(x-x1), but it was really confusing.
2. Second attempt after being explained by another student we chose to do it with vectors.

After doing several experiments we realized that the best distance from where we should take the picture was from two meters away from the object, and using a camera with a 2448 x 3264 pixeles resolution.

Here are some pictures of the code and ran in the terminal:    and the link to the code in GitHub.  # Quiz Time… Again 💯

This is quiz 6

we had to write a function to calculate the greatest common denominator of two positive integers using Euclid’s algorithm.

Here is the code in GitHub.  # Word, word, word… This WSQ was about create a program that asks the user for a word which will be your search word and the name of a file to open and search for that word. Then create a function that will receive two parameters (both string) representing those two data points. This function returns the number of occurrences of that word in that file.

I have help from my students I really  liked the post of a classmate you can find it here.

And my code in GitHub.  # YO SOY 1⃣9⃣6⃣!

After wanting to kill myself several times I finally finished the WSQ11 that was about:

Your jobs is to create a program that asks the user for two pieces of data:

• The lower bound of the sequence
• The upper bound of the sequence
Then you check the values from the lower bound (inclusive) to the upper bound (inclusive) and make a report of them. During the analysis of each number, if a Lychrel number is found it should be reported immediately with something like “Found a Lychrel number: 196”
A friend that took TC101 last semester told me that she suffered to but she recommended a Ken’s video for Big Integer.
Here is my code in GitHub.   # Another one? Yes 💀

1. Create a function called is_palindrome which receives a string as a parameter and returns true if that string is a palindrome, false otherwise. Remember that a palindrome is a word that is the same forward or backward. For full points your function must ignore case and must work with any character (not just letters). So (“Dad\$dad” is a palindrome even though the D is capital and d is lower case). 2. Create a function called find_threes that receives as a parameter a list (or Vector or array for C++ students) of numbers and returns the sum of all numbers in that list that are evenly divisible by 3. Note if using vectors, you will need an additional parameter to represent the number of numbers in the array. So if the list was [0,4,2,6,9,8,3,12], the function would return 30 (0+6+9+3+12) To do this quiz I had to read my classmates quizzes and asked for help to a friend that already have done this last semester.

Anyway those are the screenshots for each one.

And here are both codes.  # Quiz 04

• This quiz was about creating a function called euler_calc with a single parameter precision. The value of precision is used to determine when to stop calculating. Your calculation will stop when the two consecutive values estimating “e”differ by less than precision.
• I research about the Euler’s number here because I didn’t know what exactly was it.
• My code and ran in the terminal —————–>My code in GitHub<——————  