Professional Documents
Culture Documents
ME2E EE1 Almohjili Ex3
ME2E EE1 Almohjili Ex3
Ex 3 Learning Outcomes
Type your syntax after each number. Take a screenshot of your workspace after doing all the items
1. EXAMPLE. Fearful of a bank failure, Norman split his life savings of $60,000 among three banks.
He received 5%, 6%, and 7% on the three deposits. In the account earning 7% interest, he
deposited twice as much as in the account earning 5% interest. If his total earnings were $3,760,
then how much did he deposit in each account? (Using Excel)
2. A small manufacturing plant makes three types of inflatable boats: one-person, two-person, and
four-person models. Each boat requires the services of three departments, as listed in the table.
The cutting, assembly, and packaging departments have available a maximum of 380, 330, and
120 labor-hours per week, respectively. How many boats of each type must be produced each
week for the plant to operate at full capacity? Create a Matlab script that outputs the final
augmented matrix using gaussian elimination and the answer in the following variables
(1p_boat, 2p_boat, 4p_boat)
3.
Department One-person boat Two-person boat Four-person boat
Cutting 0.5 hr 1.0 hr 1.5 hr
Assembly 0.6 hr 0.9 hr 1.2 hr
Packaging 0.2 hr 0.3 hr 0.5 hr
4. Create a Matlab script that does Gaussian Elimination on the following system of linear
equations.
a+ b−2 c +d +3e−f =42 a−b+c +2 d +e−3 f =20a+ 3 b−3 c−d+ 2e+ f =−15
5 a+2 b−c−d+2e +f =−3−3 a−b+2 c +3 d +e+ 3 f =164 a+3 b+ c−6 d−3e-2 f =−27
Verify your answer using the linsolve function or matrix inverse. The script must have the
following outputs