0% found this document useful (0 votes)
32 views

Experiment 3 - Cramer's Rule

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Experiment 3 - Cramer's Rule

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

ADAMSON UNIVERSITY

INDUSTRIAL ENGINEERING DEPARTMENT

Name: Madeloso, Ma. Daniella B.


Experiment No. 3
Title: Solving Systems of Linear Equations using Cramer’s Rule
Objectives:
 To use the MatLab Software in solving Systems of Linear Equations problems
using Cramer’s Rule.
 To familiarize with the different MatLab functions and operations

Part I. Solve using Cramer’s Rule.


Solve the following Systems of Linear Equations using Cramer’s Rule. Include the screenshot of
the algorithm in each number as a part of your solution. Double-check your answers using
inverse of matrix or A\b.

1. Find the Determinant of D.

1 4 3
D=−2 4 −1
0 −5 2

ANSWER:

2. -9X + 7Y - 4Z = 188
-3X + 2Y - 1Z = 56
-6X + 5Y + 8Z = 44

ANSWER:

Linear Algebra for IE Page 1 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

Linear Algebra for IE Page 2 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

3. 8X - 9Y - 6Z = 92

Linear Algebra for IE Page 3 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

-3X - 4Y - 1Z = -33
-2X - 7Y - 5Z = -9
ANSWER:

Linear Algebra for IE Page 4 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

Linear Algebra for IE Page 5 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

4.
1m + 2n - 1o + 4p + 3q = 2
-3m + 4n + 5o -2p + 3q = 4
1m - 2n + 8o + 6p - 1q = 6
2m - 3n - 1o + 5p + 1q = -3
5m +1n - 1o + 2q = 2
ANSWER:

Linear Algebra for IE Page 6 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

5. 6X - 7Y - 5Z = 68
Linear Algebra for IE Page 7 of 16
ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

9X - 3Y - 1Z = 101
4X - 2Y + 8Z = -16

ANSWER:

6. 3X - 2Y + 5Z = 6
9X - 8Y + 1Z = 46
-6X - 4Y + 7Z = 27

Linear Algebra for IE Page 8 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

ANSWER:

7.

ANSWER:

Linear Algebra for IE Page 9 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

Linear Algebra for IE Page 10 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

Linear Algebra for IE Page 11 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

8. -2X - 1Y - 3Z = 3

Linear Algebra for IE Page 12 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

2X - 3Y + 1Z = -13
2X - 3Z = -11
ANSWER:

9. X1 + X2 + X3 + X4 = 4
Linear Algebra for IE Page 13 of 16
ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

X1 + 2X2 + 2X3 + 2X4 = 1


X1 + X2 + 2X3 + 2X4 = 2
X1 + X2 + X3 + 2X4 = 3
ANSWER:

Linear Algebra for IE Page 14 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

Linear Algebra for IE Page 15 of 16


ADAMSON UNIVERSITY
INDUSTRIAL ENGINEERING DEPARTMENT

OBSERVATION/ ANALYSIS:

In this activity, many numbers are added. So, its more likely to make a mistake if you are
not double checking enough especially on number 7 and 4.. And it got more of variables input on
the experiment. Variables also change number to number like the ordinary variables you
could’ve seen in the experiment “Dx, Dy, Dz” on 1, 2, 3, 5, 6 and 8 numbers, but the more
confusing ones are “Dm, Dn, Do, Dp” on number 4, “Da, Db, Dc, De, Df” on number 7 and “D1,
D2, D3, D4” on number 9. Cramer’s Rule is implemented on this experiment in where it is
finding determinants on every experiment.

CONCLUSIONS

Matlab made Cramer’s Rules much easier and more efficient on displaying the results.
Not only in Cramer’s Rule but also other calculations as well. Especially as a Industrial
Engineering where in it could help for future use like research and finance. And having to see
potential of Matlab is intriguing for us, students.

Linear Algebra for IE Page 16 of 16

You might also like