Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed
0.3x1+0.52x2+x3=0.010.5x1+x2+1.9x3=0.670.1x1+0.3x2+0.5x3=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 tri2 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 31 column matrix

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions