You are on page 1of 2

NAME : _________________________ Section:

_____________________

MATLAB ACTIVITY 4 – Determinant Using MATLAB

A. Use the det( ) built-in function to find the determinants of the following matrices. Write the MATLAB SYNTAX
you used and MATLAB out put on the space provided

1 1 1
1. A  1 1 1 det A = ____________
1 1 1
7 6 5 4
6 5 4 3
2. A det A = ____________
5 4 3 2
4 3 2 1

1 2 0
 0 create a matrix B whose entries are three times the difference of an identity matrix of
3. If is A  3 4
0 0 5
order 3 and matrix A. What are the entries in B and its determinant? B=_______________

determinant of B____

1 2
Create matrix C if possible . Use C  5 * eye( size( A)  A)^ 2 , where A  
4
4. then matrix is C=
3 
_____________ and determinant of C=_____
0 1 1
5. D  transpose ( A) * A , where A  0 1 0 then D= _____________ and determinant of D=_____
1 0 1 

B. Use MATLAB SYNTAX solve the given problems below. Write the MATLAB syntax you use and the MATLAB
output in the space provided.

1. Use Cramer’s Rule to show the solution of

2. Find the volume of the given figure


3. Mr. Cruz would like to buy a lot however, his broker gave the dimension of the lot using the vertices (0, 4), (0,-2) (20, 4) and
(10, -2). What would be the total area of the lot that Mr. Cruz will be buying?

You might also like