Numerical Analysis Assignment 3 — Systems of Equations
 Question #1
Consider the following system of equations: $$-3 x_1 + 2 x_2 + 4 x_3 + 5 x_4 = 1 \\ - x_1 + 3 x_2 - x_3 + 5 x_4 = 2 \\ -4 x_1 + 4 x_3 + 2 x_4 = 3 \\ 6 x_2 + 4 x_3 - 5 x_4 = 4$$ Find $x_1$, $x_2$, $x_3$, $x_4$ using Gaussian elimination in two different ways:
(a)  By hand.
(b)  By writing a C program that starts as follows:
 09.02.16
 Question #2
Consider a system of equations expressed as: $$A X = B$$ with $$A=\left[\begin{array}{cccc} -2 & 0 & 0 & 0 \\ 0 & 3 & -1 & 5 \\ -4 & 0 & 4 & 2 \\ 0 & 6 & -2 & -5 \end{array} \right]$$ Find the matrices $L$ and $U$ by hand such that $A=LU$ and $L$ is a lower-triangular matrix and $U$ is a upper-triangular matrix.
 Question #3
Consider the system of equations $$AX=B$$ with $$B=\left[ \begin{array}{c} 1 \\ 2 \\ 3 \\ 4 \end{array} \right]$$ and with $A$ as outlined in Question #2. Using the $L$ and $U$ matrices found by hand in Question #2 solve for $X$ using lower-upper decomposition in two ways:
(a)  By hand
(b)  Using a C program that starts as follows:
 $\pi$