Showing posts with label Engineering. Show all posts
Showing posts with label Engineering. Show all posts

Saturday, March 10, 2012

LESSON 2: LET'S CODE MORE WITH TABLING THE OUTPUTS


Recall that from the first post, we have already:
  • Algorithm for any program should consists of three main sections - input, computation and output
  • Basic syntax for mathematical operation
  • Solving the assignment given
For this post, we will discuss on more coding.

Saturday, March 03, 2012

LESSON 1: CODING A SIMPLE MATLAB CODE

Greetings and welcome to Bern’s section on the basic computation programming for engineers. In this first article that I have wrote for this special section on my blog, I would like to talk about constructing a simple computer language code using the Matlab for a common mathematical question. If you are my JKKP classmates, I am sure that you have the question for the assignment given by Dr Meor with you. If you are not, here is the question stipulated:

QUESTION: 
The area of a triangle having side lengths a, b and c is:
Area = √(s(s-a)(s-b)(s-c)) - where; s = (a+b+c)/2


Write a computer code (Matlab) to prompt user for the three sides of a triangle and then compute and print the area using the relationship above. You are expected to submit the algorithm, flowchart and the computer (Matlab) code.

NOTE: I will leave it to you to solve the algorithm and the flowchart.

Monday, September 13, 2010

HOW TO SOLVE ENGINEERING QUESTIONS WITH INCEPTION SKILLS

Arrgggh....Engineering questions are never been easy and it takes much more cerebral fluid to handle one of them. It should not be an understatement when I say that the life of an engineering student is never easy. Oh, it is not just some fancy statement at all; but it involves a lot of analytical, understanding and commitment to study such! Fret not as some say that an engineer never worries for the answer but they only care about how to derive such an answer. Proof is?


However, some form of skills are still needed in solving some form of engineering problems! What skills you asked? With the movie Inception is recently been getting a lot of rave reviews and attention; I personally thought it was the best film so far (REVIEW) and no doubt an entertaining mind-bending sci-fi movie ever. It comes to much of surprise (even to myself) when I found out that using some Inception skills can help you to solve some engineering problems. In case you are dealing something related to engineering, why not check this out: 
Click Read More on to check out.