You are on page 1of 6

LABORATORY PLATE #4

Name Rianne Marie D. Jusain


Section A241 Date March 11, 2022

Activity 1: Vectors, Functions, and Plots in GNU Octave/MATLAB

Exercise 1:
Perform Exercise 8.3 of the Lecture 8 handout.
Explain your script and results in a video.
Input (Code) w/ Comments:

Output (Screenshots):
Exercise 2:
Perform Exercise 8.4 of the Lecture 8 handout.
Note: n = 10, 20, 40, 80, 160 (until 160 only).
Explain your script and results in a video.
Input (Code) w/ Comments:

Output (Screenshots):

Increase of n = exponential increase of the residual error.


Activity 2: Introduction to Linear Systems

Exercise 1:
Perform Exercise 9.1 of the Lecture 9 handout.
Explain your script and results in a video.
Input (Code) w/ Comments:

Output (Screenshots):
Activity 3: Some Facts About Linear Systems

Exercise 1:
Perform Exercise 10.2 of the Lecture 10 handout.
Explain your script and results in a video.
Input (Code) w/ Comments:

a.

b.
Output (Screenshots):

a.

b.
Activity 4: Accuracy, Condition Numbers and Pivoting

Exercise 1:
Perform Exercise 11.1 of the Lecture 11 handout.
Explain your answer in item C through an essay (min. of five sentences).
Input (Code) w/ Comments:

a.

b.

c.

Output (Screenshots):

a. c. Notice that b1 has the same


elements as the first column of
matrix A. To obtain x, we must
multiply the inverse of matrix A to
the column of (original) matrix A.
Doing so will result to a column
of identity matrix, i.e., the
diagonal of its matrix contains 1.
On the other hand, observe that
b2 has the same elements from
the first column of matrix B.
Since matrix B are from the
elements of matrix A then
rounded off to three decimals, we
lost part of the information of
matrix A. So, if we multiply it to
the inverse of matrix A, then it
will generate decimal values that
b.
are not the same as the previous
one.

You might also like