San Diego State University logo
ME 203

Module 5.2 - Algebraic Methods - Solving Linear Equations

tar file: module5.tar  

Now that we've used multi-dimensional arrays and the for loop to solve relatively straight-forward arithmetic problems, we'll move on and use them in more complex mathematical situations; specifically, to find the value of the variables in linear equations.

In this Module, we will:

  • provide a brief introduction on 2 methods used in solving for the variables in a set of linear equations:
    • The Gaussian method
    • The Iterative, or Lower-Upper (LU) method.
  • show how to use multi-dimensional arrays and nested for loops to implement both of the above methods in a C program.

 

Continue to the Connect Section ->

Website by Joshua Bleier