Question
Write a MATLAB script that uses Cramer's rule to solve the following system of equations. Use the built-in funciton det 0.3x_(1)+0.52x_(2)+x_(3)=-0.01 0.5x_(1)+x_(2)+1.9x_(3)=0.67 0.1x_(1)+0.3x_(2)+0.5x_(3)=-0.44 Requirements:
Write a MATLAB script that uses Cramer's rule to solve the following system of equations. Use the built-in funciton det\
0.3x_(1)+0.52x_(2)+x_(3)=-0.01\ 0.5x_(1)+x_(2)+1.9x_(3)=0.67\ 0.1x_(1)+0.3x_(2)+0.5x_(3)=-0.44
\ Requirements:\ " The built-in function det is used to compute determinants.\ Assign the variable tri to be the determinant of the coeffient matrix.\ Assign the variable tri1 to be the determinant of the coefficient matrix with the first column replaced with the constants on the RHS of the system.\ Assign the variable tri 2 to be the determinant of the coefficient matrix with the second column replaced with the constants on the RHS of the system.\ Assign the variable tri3 to be the determinant of the coefficient matrix with the third column replaced with the constants on the RHS of the system.\ Assign the variable
x
to the solution of the problem as a
3\\\\times 1
column matrix.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started