Tarea Semana 14: SciLab

--Originally published at No se programar…

Scilab is a great tool that I believe you will find very useful during the rest of your degree programs and beyond. The motivation here is simply to introduce you to the tool. Scilab is open source software and runs on Linux, Mac and Windows

Download the latest version at http://www.scilab.org/download/latest

Please download and “play with” SciLab.

Please follow the tutorial available on their website under Resources->Documentation. Here is the direct link to the tutorial http://www.scilab.org/content/download/849/7901/file/Scilab_beginners.pdf

Page for SciLab to download at https://www.scilab.org

Do NOT panic, there are 33 pages but it will not take you too long to go through it.

 

Esta tarea fue bastante interesante. Se nos presento una herramienta que puede llegar a ser bastante interesante. es una herramienta un poco parecida a Excel, pero con mayor capacidad, es bastante interesante, y aunque en el presente pueda no ser de mucha utilidad, en un futuro estoy seguro que será de mucha, mucha, utilidad.
Captura de pantalla (170)


Tarea Semana 13: Estimating e

--Originally published at No se programar…

In this assignment you will estimate the mathematical constant e. You should create a function called calculuate_e which receives one parameter called precision that should specify the number of decimal points of accuracy.

You will want to use the infinite series to calculate the value, stopping when the accuracy is reached (previous and current calculation are the same at the specified accuracy).

Al fin numeros de nuevo!!

Para ser franco prefiero trabajar con números que con archivos y palabras, ya que es un poquito mas fácil encontrar los errores que pueden existir y cosas por el estilo. Lo que mas me gustó de este trabajo es que fue bastante sencillo, y fue un cambio de letras a numeros.
tuve algunos problemas con el uso de float& y float, asi que me puse a checar el trabajo de otros compañeros. hubo uno que se me hizo particularmente bueno que es el de un compañero de clases y aquí está un link a su código. Me gustó porque su algoritmo se parecía bastante al mio xD.

Haga click para ver el pase de diapositivas.

Tarea Semana 12: Go Bananas

--Originally published at No se programar…

Write a function called find_bananas which receives a single parameter called filename (a string) and returns a positive integer which is the number of times the word (string) “banana”  (or “BANANA” ) is found in the file. The banana can be any case (‘BaNana’ or ‘BANANA’ or ‘banana’, etc) and they can be “stuck together” like “banAnaBANANA” (that counts as two). Create your own test file (plain text) to check your work.

Este trabajo fue bastante complicado para mi, pues hubo que buscar bastantes cosas relacionadas con cosas que no sabia.

en general había bastantes soluciones, y en Internet hay muchas herramientas para aprender.
Considero que el material que mas me ayudaron a trabajar en este proyecto fueron los vídeos del siguiente canal de youtube.

 

Mi código.

Captura de pantalla (167)

 

 


Installing Linux

--Originally published at My TC1017 programming class

So, as part of the program (and to cover a Mastery Topic), I decided to install Ubuntu (a Linux based OS) on my Laptop.

To do so, i decide to ask Mr. Ken for help, but, he told me it was not a good idea to install it directly, since there was the risk of me losing all of my data. So, he told me to install a virtual machine (VirtualBox) to run it as a computer inside my computer, so that way if it crashed, it would be the program, and not my PC.

So, to do so, you basically have to download virtual box, and install Linux on that one. Im not totally sure on how to do it, but I will leave a video.

In any case, here si the link to download the Virtual Box.

Here is a video from YouTube user sakitech. 


Estimating “e”

--Originally published at Inplamura

#WSQ12

This program asks the user for the number of decimal points of accuracy and then gets euler’s number with that specification.

The most difficult part of this program was to understand how the euler’s number is calculated. I discovered that there are two methods to find it so i chose the one that for me was easier. I also had problems with my code because I was using “long “and “int” and in the end i discovered that I really needed the “double”.

Sources:

https://www.thoughtco.com/definition-of-double-958065

http://www.mathsisfun.com/numbers/e-eulers-number.html

Screenshot (99)Screenshot (100)


SciLab

--Originally published at My TC1017 programming class

So, the way I see SciLab is like an excell on steroids. SciLab is a tool that allows you to input data and do mathematical operations with it. At the same time, it allows for the user to graph such inputs, either in 2D or even in 3D.

I believe that as a future engineer, SciLab will be a great tool to make data analysis and to understand in graphs what happens.

Being honest, I did not download SciLab on my PC, since I am still figuring out how to properly connect my SSD into my Laptop. I read the manuls, and saw this video explaining the very basics of SciLab.

I will leave the links to both the manual and the program Download. here is a video made by YouTube user UTTU in which the very basics are explained.

Download Page

PDF Manual

 

 


TC1017 Review

--Originally published at My TC1017 programming class

So, my TC1017 class. This is s small review I mad eon video, but I will also write my general thoughts here.

The class, overall, was a new experience for me. I realized that this type of learning is a good idea, but not for everyone. In my case, I found it a little difficult to learn this way, beacuse I did not have enough interest to actually make the effort of learning, so I had to ask the teacher several times to teach me.

I would suggest for everyone to try a class like this, because it will definitely help you know yourself a little better.

Steering away from the way the class worked, and moving towards the class and its contents, it was fine. I liked programming in c++, since it is quite a simple language, and allows you to do some awesome stuff.

In conclusion, I would recommend taking class with Mr. Ken, though, you should be prepared for his way of teaching, and at the same time, be willing to make the effort to learn by yourself.