Question: Consider this system of linear equations 5 x + 6 y 3 z = 1 0 3 x 3 y + 2 z = 1

Consider this system of linear equations
5x +6y 3z =10
3x 3y +2z =14
2x 4y 12z =24
which can be represented by the short hand
Ax=B
Define a symbolic equation representing each equation in the system of equations. (You'll need to define symbolic variables first.)
Call the first equation a, the second equation band the third equation c.
Use the solvefunction to solve for x, y, and z and name the result answer.
Your result will be a structure array. Do not try to convert answerfrom a symbolic (displayed as a fraction) to a double.
Instead define a new variable Xas double(answer.x)
Similarly define Yand Zusing the answerstructure array.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!