Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

>> C = [0.25 0.15 0.25 0.18 0.20; 0.15 0.28 0.18 0.17 0.05; 0.22 0.19 0.22 0.22

ID: 3004278 • Letter: #

Question

>> C = [0.25 0.15 0.25 0.18 0.20;
0.15 0.28 0.18 0.17 0.05;
0.22 0.19 0.22 0.22 0.10;
0.20 0.15 0.20 0.28 0.15;
0.18 0.23 0.15 0.15 0.50]

>> I = eye(5)

Note that the command "eye(n)" creates an n x n matrix with 1's on the diagonal and 0's elsewhere.

(a) Enter the matrices C and I into MATLAB.

>> C = [0.25 0.15 0.25 0.18 0.20;
0.15 0.28 0.18 0.17 0.05;
0.22 0.19 0.22 0.22 0.10;
0.20 0.15 0.20 0.28 0.15;
0.18 0.23 0.15 0.15 0.50]

>> I = eye(5)

Note that the command "eye(n)" creates an n x n matrix with 1's on the diagonal and 0's elsewhere.

(b) Use MATLAB to row reduce the augmented matrix [C - I | d] and write down the general solution to (C - I)p = 0. (c) What are the highest and the lowest priced commodities in Matrixville? List the inhabitants of this charming town in order of increasing income. If our friend Bob makes $40,000 per year, what are the incomes for the rest of the inhabitants? With all the moonshine that Bob drinks, do you think he will live long enough to enjoy his good life?

Explanation / Answer

Input:>> C =

[0.25 0.15 0.25 0.18 0.20;

0.15 0.28 0.18 0.17 0.05;

0.22 0.19 0.22 0.22 0.10;

0.20 0.15 0.20 0.28 0.15;

0.18 0.23 0.15 0.15 0.50]>> I = eye(5)

Output:C =0.25000 0.15000 0.25000 018000 0..20000

0.15000 0.28000 0.18000 0.17000 0.0500

General solution:

C.) What are the highest and the lowest priced commodities in Matrixville? List the inhabitants of thischarming town in order of increasing income. If our friend Bob makes $40,000 per year, what are theincomes for the rest of the inhabitants? With all the moonshine that Bob drinks, do you think he will livelong enough to enjoy his good life?

-The highest commodity in Martixville is Moonshine because Slacker Bob is the free variablewhich means he is earning what he puts into the system 100%. Clothes are the lowest pricebecause it has a ratio of .5919:1 which means the tailor will only get about 59% of what he gives.-

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote