Professional Documents
Culture Documents
Matlab Activity 3-1
Matlab Activity 3-1
Matlab Activity 3-1
A. Using MATLAB commands compute the following expressions if possible. Write the MATLAB SYNTAX
you used and MATLAB out put on the space provided
Explanation:
2. Determine the solution set of the give linear system below , using the method of (6 points each)
a. Inverse of Matrix
b. Gauss-Jordan Elimination
c. LU- factorization
MATLAB Syntax MATLAB Output
Inverse of Matrix
Solution Set:
MATLAB Syntax MATLAB Output
Gauss- Jordan Elimination
Solution Set:
MATLAB Syntax MATLAB Output
LU-factorization
Solution Set:
Which do you think among the three method used is appropriate in the given system? Explain your
answer in 3 to 5 sentences. ( 5 points)
B. For the following word problems, set up a system of linear equations then solve using matrices.
Verify your answer using MATLAB. Write the MATLAB syntax and MATLAB output on the space
provided (8 points each )
1. A mix of 1 lb almonds and 1.5 lbs cashews sells for 150.00 Php. A mix of 2 lbs almonds and 1 lb cashews
sells for 170.00 Php. How much does each nut cost per pound?
Set-Up of the System of Linear MATLAB Syntax MATLAB Output
Equation
Final Answer
2. Maria, Rebecca and Sally are selling baked goods for their Math club. Maria sold 15 cookies, 20
brownies and 12 cupcakes and raised 2350.00 Php. Rebecca sold 22 cookies, 10 brownies and 11
cupcakes and raised 1985.00Php. Sally sold 16 cookies, 5 brownies and 8 cupcakes and raised
1330.00Php. How much did they charge for each type of baked good?
Set-Up of the System of Linear MATLAB Syntax MATLAB Output
Equation
Final Answer
Command History
Honor Pledge: