Question

Solve the following system of three linear equations by creating (a) a row vector for x,...

  1. Solve the following system of three linear equations by creating (a) a row vector for x, y, and z, and (b) a column vector for x, y, and z (using matlab):

-4x+3y+z=-18.2

5x+6y-2z=-48.8

2x-5y+4.5z=92.5

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

Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc;
clear all
A=[-4 3 1;5 6 -2;2 -5 4.5];
b=[-18.2;-48.8;92.5];
disp('Column vector for x')
x=A
b=[-18.2;-48.8;92.5]';
disp('Row vector for x')
x=b/transpose(A)

-clc: 2clear all 3- h-[-4 3 1,5 6-2:2-5 4.5); 4- b-[-18.2;-48.8:92.5); 5- disp (Column vector for x) 7- b= [-18.2,-48.8:92.

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Solve the following system of three linear equations by creating (a) a row vector for 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
ADVERTISEMENT