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.

 


WSQ 13…

--Originally published at tc1017 – chivas4ever2009

Working, playing or however you want to call it with SciLab. I did some basic stuff, basic operations, I worked with constants, also with functions and additionally I worked with graphs and diagrams.

I find it to be a very useful tool like Ken said. Maybe in the future I will be using it, I think it will be way more easy. It is ilke programming, and since I already took a course of one of most difficult languages for programming (C++), I think and I hope wont be having problems with this.

Here you have some basic introduction files:

Click to view slideshow.

Scilab_beginners (1)introscilab


WSQ 12…

--Originally published at tc1017 – chivas4ever2009

Objective:

Ken asked to create a programm to estimate the value of the constant  “e” = 2.71……(Easy).

I said it is easy because there exists a library in C++ with plenty of Math constants. (_USE_MATH_DEFINES). There you can find the value of pi, e, log and square root.

In this case you need e = M_E.

Then we should create a function that received one parameter thar reached the precision of the value asked by user through an input.

***Important stuff***

  • The use of libraries. When you can get the constant then you can compare it with function you created. That is what I did, I printed both values: the cosntant and the one calculated. To compare both of them and see if I was doing it right.
  • Reading instructions. This is a tricky one, at first I thought it was asking for decimal places of the e value. It was not clear, then Ken told us that in real life it was like that. With the clients or with workmates, sometimes they are not very clear of what they want, but you as an engineer must figure out what does the client wants2017-11-24 (2).

 

 

Links:

https://www.quantstart.com/articles/Mathematical-Constants-in-C

GitHub: https://gist.github.com/CesarR99/d377e4053691464b5a8c01e15f9da623

 


WSQ 11…

--Originally published at tc1017 – chivas4ever2009

Objective:

Ken asked us to create a programm that searched and counted the word “banana” in a file through a function that recieved a single parameter and returned a positve integer that would be the number of times banana is in the document.

It was easy and I find it useful. Maybe when you are doing an essay you need to search for a specific word, or in a long file you need to find a key word. With this programm you will find what you are looking for.

*When looking for a word in a document like a PDF on the internet press F3. And in Word press Control + B, depending in your computer it should work.

***Important stuff***

  • The difficult part for me it was setting as equal: lower case letters and uppercase letters. But on the internet I found it was not so difficult. The function tolower must be introduced in your programm.
  • Also another mistake I had it was that I was not saving my file as .txt . Something super easy, a dumb mistake and very basic.
  • 2017-11-24

2017-11-03 (1)2017-11-03

Links: http://www.cplusplus.com/reference/cctype/tolower/

GitHub: https://gist.github.com/CesarR99/48fbd26c375b8709afeb3a34ccefc4fc

 

 


My semester with Ken

--Originally published at Victor´s Spot

My semester with Ken was very interesting I had never been in a class where nothing worth points, at the the beggining I thought this system was not going to be useful for learning but I did not expected that we as students were going to do a real effort for the course, but I believed that the reason consists in the fact that the students have pride.

Well, to sum up I want to say that this new method of teaching was really interesting and having a nice teacher like Ken is even more interesting, I hope to keep contact with Ken after this course because he´s an excellent professor.

Finally I wish luck for those who will have class with Ken next semester or next year.   th5RQI5CO6


Our Final Project “Galgenmännchen(Ahorcado)” finished

--Originally published at Victor´s Spot

Well finally with my brother Jesus Castillo Madrigal, we finished the final project, and we achieved our goal of making a Hangedman with random words in germany, in the creation of this program or game, we developed the following mastery topics from kenscourses.com:

  • When to use what type of repetition in a program
  • Validated user input (ensure correct/expected data entry)

Because in the program we have to decide where and when repit some parts of the program, and we had to ensure that the user didn´t entry a wrong expected data that would ended the program.

The keys open doors

and let the knowledge indoors

Here you can download the code: https://gist.github.com/victorcmadrigal/da2893fe0a53ca888c9901b5b26bf4e1 aaaaaaa


The beginning of the course

--Originally published at Victor´s Spot

With the first codes of this course i believe that I developed the following mastery topics from kenscourses.com:

  • Ability to create C++ file and run from command line (terminal)
  • Create accounts: Blog, Twitter, GitHub

And I did it because I had to for made my evidences for the semester, first I thought that it was not going to be a good way to evaluate ourselfs but think that was a mistake, it was an excellent way to share with my friends what I have done, Github was an excellent site to upload my codes and share in my blog.

So I believe that the blog and Github were important in my performace for this semester.Resultado de imagen para githubResultado de imagen para wordpress


WSQ08

--Originally published at Victor´s Spot

This task was kind of large, but I finally did it with the help of Juan Carlos Ron Varela and Rogelio Felix Gamboa.

WSQ08

The job consisted on

“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” (Bauer, 2017).

I believe I develope on this WSQ the following mastery topics from Kenscourses.com:

  • Nesting of conditional statements (ifs inside ifs)
  • Nested loops

I belived that i developed those because the code requires a combination of loops and conditional because it requires of that to make it worth.