Question

set of linear equations are given as follows 10 x +20 y +9z 414 +7 x -14y +12z 363 -3x +12 y +11 z-475 If the above system of linear equations is represented by the matrix system where the unknown vector vI-x y z) A- coefficient of the linear systems, and b-right-hand side vector 1) Write the matrix A 2) Using a for-loop, write a Matiab-code to compute matros-matrix product Le., C AA 3) Select the correct value of Cb from the choices below? hoices -266790, 253968, -110032) -266797, 253972, -1100321) -266793, 253971,-110032] -266793, 253970, -110036]T

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Soluton 0 Given dat o an 之 an 363 -145 -312

B) MATLAB CODE:

A=[-10,20,9;7,-14,12;-3,12,11];
b=[-414;363;-175];
for m=1:3
C(m,1)=A(m,1)*A(1,1)+A(m,2)*A(2,1)+A(m,3)*A(3,1);
C(m,2)=A(m,1)*A(1,2)+A(m,2)*A(2,2)+A(m,3)*A(3,2);
C(m,3)=A(m,1)*A(1,3)+A(m,2)*A(2,3)+A(m,3)*A(3,3);
end
C
D=C*b
disp('choice c is correct')

RESULT:

213 372 249 204 480 27 81 96 238 266793 253971 -110032 choice c is correct

C)

\Rightarrowconsider D=C*b

\Rightarrowfrom matlab code we can say that option c is correct.

Add a comment
Know the answer?
Add Answer to:
set of linear equations are given as follows 10 x +20 y +9z 414 +7 x...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT