Thursday, September 24, 2009

ANNOUNCEMENT!

My email address is: wilmarclopez@gmail.com NOT yahoo.com.
Hindi ko matatanggap ang mga pinapasa ninyo doon.

Please be responsible! Thanks!

Friday, September 18, 2009

MP 2 Extended

MP 2 deadlines will be the following:

THWX1: Tuesday before class
FWQR and FWUV: Wednesday before class

Kindly send me your codes via e-mail. Please bring it to class with you too.
Thanks!

I would like to apoliogize to my THWX1 class. Sorry.

God bless!

Thursday, September 17, 2009

ANNOUNCEMENT!

I'll do my best to be at our exam venue as early as possible, around 6:30 am siguro.

Kapag dumating kayo, papaexamin ko na kayo agad.

Wednesday, September 16, 2009

Schedule Announcements for the Hands-on Exam

All exams will be held at Teaching Lab 2, UPAECH/Engineering Library 2 Building.

Schedules:
  • THWX1 (TTh): on Thursday, September 17, 6:00pm-9:00pm
  • FWQR and FWUV (WF): on Friday, September 18, on your respective class times.

Other notes:
  1. Open everything. You can bring any number of books, notebooks, notes, even flashdisks.
  2. No internet access.
  3. No talking with anyone except with me.

God bless!

Monday, September 14, 2009

Pointers for the Hands-on (Third) Exam

Please familiarize yourself with the following functions as you will use them on your exam:

atoi()

Syntax:
#include 
int atoi( const char *str );


Description:
The atoi() function converts str into an integer, and returns that integer. str should start with some sort of number, and atoi() will stop reading from str as soon as a non-numerical character has been read.

Example:
i = atoi( "512.035" );

RESULT: i set to 512.


atof()

Syntax:
#include 
double atof( const char *str );


Description:
The function atof() converts str into a double, then returns that value. str must start with a valid number, but can be terminated with any non-numerical character, other than "E" or "e".

Example:
x = atof( "42.0is_the_answer" );

RESULT: x set to 42.0
Source: http://www.elook.org/programming/c/atof.html


No need to learn complicated matrix operations like those involve in finding solutions to linear equations. You just have to know the Basic Matrix and Row operations.


Good luck!

Friday, September 11, 2009

Exam Pointers

All sections will have their Written exams first.

Written ( will be considered as your Second LE )
Types:
  1. Indentification
  2. Why, How, What, Explain-this, Discuss-that types of questions
All of the concepts are of course on the slides but there is a difference between knowing and memorizing. This exam measures how much long-term information you've managed to absorb from our lectures. Remember, when a certain topic or idea is unclear to you, always ask your instructor/teacher to clarify the thought.


Hands-On ( will be considered as your Third LE )
Open everything but no communicating with anyone except with me. Brace yourselves.
Review or study how to find solutions to linear systems using matrices.
Tignan na lang natin.. magaral muna kayo for the written exam.


MAG-ARAL KAYO! TODO NIYO NA! \m/(^___^) V

Errata: 14 - Multidimensional Arrays

  1. @Slide 2: declaration should be int a[3][4]; to be consistent with the table.
  2. @Slide 6: "Indeces should be from 0 to sizei-1, i = 1, 2, .., N, for all N dimensions." The original statement might mislead you in thinking that all dimension sizes are N. This statement expresses the thought more clearly.
Thanks!

Monday, September 7, 2009

ME 15 - Matrix Product/Multiplication

I am assuming that you already know what matrices are and the basic operations that can be applied to them. You can just Google it, anyways ^_^v.

For our last Machine Exercise, create a function that multiplies two matrices A and B and puts the result in matrix C, with the following prototype:

void mat_mul( int A[][MAX_COL], int B[][MAX_COL], int C[MAX_COL], int rowA, int colA, int colB );

Remember that multiplying an m x n matrix by an n x p matrix yields an m x p matrix.

Good luck!