INDUMAT Procedures (Quiz 2) Flashcards

1
Q

Steps for LU Decomposition

A
  1. Setup matrices as AX=B
  2. Get the upper triangular matrix based on A
  3. Put the multipliers in the lower triangular matrix (Make sure to negate or make “+” into “-“ and vice versa)
  4. Get y values from LY = B
  5. Get x values from UX = Y
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Steps for Inverse Method

A
  1. Setup the matrices as AX = B
  2. Find A^-1
  3. X = A^-1 B
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Steps for Gaussian Elimination

A
  1. Setup augmented matrix
  2. Use Elementary Row Operations until you create an upper triangular matrix
  3. Make sure the main diagonal values are equal to ‘1’.
  4. Convert back into equation form
  5. Back substitute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Steps for Gauss Jordan Method

A
  1. Setup augmented matrix
  2. Use Elementary Row Operations until you create an identity matrix
  3. Convert back into equation form
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Steps for Gauss Jacobi

A
  1. Check for diagonal dominance (rearrange rows if found otherwise)
  2. Isolate the variables per row based on the diagonal
  3. Initialize/ Get k=0 iteration wherein variables are all equal to zero
  4. Substitute values into the equations of the variables using values computed from previous iterations
  5. Solve for error values (error = absolute value of old-new)
  6. Repeat the process until the calculated answer has an error value below the tolerable error.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Steps for Gauss Seidel

A
  1. Check for diagonal dominance (rearrange rows if found otherwise)
  2. Isolate the variables per row based on the diagonal
  3. Initialize/ Get k=0 iteration wherein variables are all equal to zero
  4. Substitute values into the equations of the variables using the most recent values
  5. Solve for error values (error = absolute value of old-new)
  6. Repeat the process until the calculated answer has an error value below the tolerable error.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Steps for SOR

A
  1. Check for diagonal dominance (rearrange rows if found otherwise)
  2. Isolate the variables per row based on the diagonal then add the following: (w) + (1-w)x.
  3. Conduct the Gauss-Seidel Method in this process
  4. Continue until you reach below error value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Steps for MOSS

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Steps for Newton Raphson

A
  1. Check stability criterion which is given by:
    |f(x)f’‘(x)|<[f’(x)]]^2
  2. If the stability criterion is valid, new iteration = previous iteration - ratio
  3. Substitute the value in f(x) and f’(x)
  4. Get ratio: f(x) / f’(x).
  5. Get error
  6. Repeat process until below tolerable error.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Steps for Bisection Method

A
  1. Given a and b, substitute the values into the function
  2. Get the slope: m = a+b / 2
  3. Substitute m in function
  4. if f(m) = positive value, replace b.
  5. if f(m) = negative value, replace a.
  6. Repeat the process until below error value
  7. Make sure to get the m value as the final answer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Steps for Secant Method

A
  1. Given x^0 and x^1 (k=0 and k=1), substitute into function.
  2. Conduct iteration method:
    hint: diagonal right - diagonal left / up
  3. Repeat until error value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Steps for Regula Falsi

A
  1. Given an x+ and x-, substitute value into function
  2. Do the iteration (same pattern as secant)
  3. Substitute iteration into function
  4. If f(x^k+1) = positive value, change x+ and x- keeps the previous iteration value
  5. If f(x^k+1) = negative value, change x- and x+ keeps the previous iteration value.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly