You are on page 1of 1

1

TCPC 531 – Numerical Solutions to CE problems


1ST SEM, AY 2021–2022

Name: Date:
Section:

Activity #3 Matrix Operations

Solve these problems using manual computation. Submit scanned copy of manual computation.

23 31 43
1. A = 4 24 76 ; Reshape Matrix A into 1 x 9 matrix
12 12 23
2. tril(A)
3. triu(A)
a1 = [ 3 6 11] ; a2 = [ -2 -3 5]
4. Solve the dot product of a1 and a2.
5. Solve the cross product of a1 and a2.
6. factor(82)
7. rat(13.3476)
8. factorial(11)
9. perms(2 7 5 8 8)
10. Find the roots of these sets of linear equations.
a + 2b + c –d = 5
(3/2)a + b + 2c + 2d = 8
4a + 4b + 3c + 4d = 22
(2/5)a + (1/5)c + d = 3
11. Solve the values of the variables in these sets of linear equations
2v + 3w – 4x + y + z = 4
v + 2w +3x - y + 2z = 5
3v – w + 2x + 2y – 3z = 2
v + 4w – 3x + 7y + 2z = 6
v – 2w + 2x – y + 4z = 7

You might also like