Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please solve using matlab. i included the slides referenced in the problem 1. (25 Points) Gaussian Elimination. Solve the system of equations below as presented

please solve using matlab. i included the slides referenced in the problem image text in transcribed
image text in transcribed
1. (25 Points) Gaussian Elimination. Solve the system of equations below as presented in Lecture 3 (see slides) using the following steps: 3x1+2x25x3+10x4=202x16x25x3+7x4=12x1+7x25x36x4=34x1+x27x3+6x4=28 Step 1) Create A and b Step 2) Concatenate C=[A b ] Step 3) Eliminate all coefficients in 1st column below A(1,1) Step 4) Eliminate all coefficients in 2 nd column below A(2,2) Step 5) Eliminate all coefficients in 3rd column below A(3,3) Step 5) Back substitute to solve for x4,x3,x2,&x1 Step 6) Compare your solution, x, to one you compute from MATLAB BONUS: If you provide a "for" loop based solution with limits based on dimensions of the A matrix (i.e. "for row_ctr = 2:A(size(A,1))"), then you will earn 10 additional points. Example: Gaussian elimination: Step 1 Example: Gaussian elimination: Step 2 \[ \begin{aligned} \multicolumn{1}{l}{} & x_{1}+4 x_{2}+3 x_{3} & =5 \\ \text { Eliminate } & -2 x_{2}-5 x_{3} & =-9 \\ \text { Entry } & -18 x_{2}-7 x_{3} & =-23 \end{aligned} \] Eliminate Entries >>(3)=C(3,4)/C(3,3)Howdoyoucomputex1andx2?Answerx1x2x3=2.31580.68421.5263

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

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions