Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objective: Learn about Gaussian Elimination and analysis of code using breakpoints to debug A. Theory Read the Gaussian elimination-Wikipedia.html doc which ow describes the process

image text in transcribed
Objective: Learn about Gaussian Elimination and analysis of code using breakpoints to debug A. Theory Read the Gaussian elimination-Wikipedia.html doc which ow describes the process of solving simultaneous equat Swapping, Multiply a row by a non zero number, and/or Add a multiple of one row to another row ions using R For this process the coefficient array and the constant vector of Simult Eqs Lab 8 are combined to create an n row by n+1 column array The goal is to get the diagonal section to the left and lower edge to zeros see arrays in the Gaussian Wikipedia.html.doc referenced above o o elimi o This process gets the last equation reduced to a single variable o Each successively higher row (equation) would then have one o By Substitution, since the last unknown is now known the next term equal to a constant. Therefore the last variable is known. additional variable equation can solve for the next variable to the left etc until by substitution all variables are solved. The Diagrams in the Wikipedia doc are will show this better than words. o B. For this Lab you will not write a program. It turns out in my search for material to do this Lab I found that someone had already written the Gaussian Elimination Algorithm for Matlab. Since I expect you all to be resourceful, I would guess that most of you would find and use this code. So what is this lab about. Requirements: 1. Run and Read the GuasianElim.m program. It solves some of the equation sets that we solved in the Cramer Lab. 2. Use the Debugging methods with Breakpoints to analyze this program. 3. Then only for the 2 embedded functions LINES 40 to 651.) function C -gauss elimination(A,B) and 2.) function X-elimination (X.i.j) Analyze how the statements in these 2 function accomplish the Guassian Elimination Algorithm. 4. Put a report together, no more than 3 pages that explain your findings from requirment 3. Fewer pages are fine a. You can copy the code file and add comments in it or b. You can write the report in Word. 5. The main goal is to have you use the Debugger with Breakpoints and read and understand an already written program

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

List and briefly define key requirements for wireless LANs.

Answered: 1 week ago

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago