60 likes | 134 Views
Introduction. Gaussian Elimination II What is Gaussian Elimination?. Warm-Up Problem.
E N D
Introduction • Gaussian Elimination II • What is Gaussian Elimination?
Warm-Up Problem A supermarket customer has paid a total of $156 for 24 quarts of milk, 6 lbof ham and 12 quarts of olive oil. Calculate the price of each item, knowing that 1 quart of oil costs three times the price of 1 quart of milk and 1 lbof ham costs the same as 4 quarts of oil and 4 quarts of milk.
Gaussian Elimination in MATLAB • The m-file GaussNaive.m illustrates how elimination may be done in MATLAB • This code steps through the solution, showing each intermediate point • In practice, there is some additional complexity, but the basic concept is the same. • The intrinsic MATLAB command is rref
Concept Questions • What is the advantage of Gaussian Elimination? • Can solve more problems • Faster computation time (fewer steps) • Easier to understand • After Elimination is complete, what does the resulting matrix look like?
Group Problem • A civil engineer in a construction project requires 4800, 5800, and 5700 of sand, fine gravel and coarse gravel for a building project. There are three pits from which the materials can be obtained. The composition of these pits is : • How many cubic meters must be hauled from each pit in order to meet the engineer's needs?
For Next Time • Read chapter 8.1, 8.2