- Writing equations on top of each other there must be no zero terms along the diagonal if there are rearange the equations.
- Solve each equation for xi starting from i = 1. so the first equation is in terms of X1 and so on.
- start from an initial guess. here my initial values are all zeros: x1 = 0 , x2 = 0 , x3 = 0
- use the initial guess to find xi for all there equations
- replace the xi answers in a vector and use the found answers as the input guess for the next itteration.
- repeat 50 times
- This method is almost exactly the same in the first step. find the first equation's answers based on initial guess.
- Immedietly substitute the answer for x1 into the vector to use for x2.
- Immedietly substitute the answer for x2 into the vector to use for x3
- repeat these steps 50 times.
- Java
- No helping packages or implementations