Description
Class 1
- Write a program for Gauss Seidel algorithm.
- Use this algorithm as a function and solve 𝑚 simultaneous equations with 𝑛 unknowns (𝑚 < 𝑛) to obtain basic solutions.
- Check your program for the following examples and find the basic solutions. Consider the non-negativity constraint for all.
- 2𝑥! + 3𝑥” − 2𝑥# − 7𝑥$ = 1, 𝑥! + 𝑥” + 𝑥# + 3𝑥$ = 6, 𝑥! − 𝑥” + 𝑥# + 5𝑥$ = 4.
- 2𝑥! + 𝑥” − 𝑥# = 2, 2𝑥! − 𝑥” + 5𝑥# = 6, 4𝑥! + 𝑥” + 𝑥# = 6.
- 𝑥! − 3𝑥# + 3𝑥$ = 6, 𝑥” − 8𝑥# + 4𝑥$ = 4.
- 5𝑥! + 4𝑥” + 2𝑥# = .6, 7𝑥! + 2𝑥” + 𝑥# = .35.
- !” 𝑥! + 2𝑥” + 𝑥# = 24, 𝑥! + 2𝑥” + 4𝑥# = 60.