Professional Documents
Culture Documents
Non-Linear Equation
Roots of Function
Simple Fixed-point
Bisection Method False Position Method
iteration
Secant Method
The Newton-Raphson
Method
Algorithm:
1. Write the given function
F(x) = 0
[N.B. x is the unknown property we have to determine.]
4. If f(xl)*f(xr) < 0
xu = xr
If f(xl)*f(xr) > 0
xl = xr
Calculator Equation:
F(x) = 0
[N.B. x is the unknown property we have to determine.]
4. If f(xl)*f(xr) < 0
xu = xr
If f(xl)*f(xr) > 0
xl = xr
If f(xl)*f(xr) = 0
The root equals xr
5. For Approximate Percent Relative Error
Calculator Equation:
9. Stop when two values of Xi are close or equal or the given error is got
xi g(xi)
Calculator Equation:
A:A=f(A)
A = equation with x
The Newton-Raphson method
Algorithm:
1. Write the function
f(xn)
2. Find f ′(xn)
4. Continue with x0 = xl or x0 = xu
9. Stop when two values of xn+1 are close or equal or the given error is got
Algorithm:
1. Write the given function
f(x)
2. Choose X0, X1 such that
f(x0) * f(x1) < 0
4. Stop when two values of x n+1 are close or equal or the given error is got
System of Linear Simultaneous Equations
Direct Method
Algorithm:
1. Write the given linear equations
2. Matrix form
AX = B
5. Form the corresponding equations and by solving the equations get the
values of x, y and z
Gauss Jordan Method
2. Matrix form
AX = B
x = d1
y = d2
z = d3
Indirect Method
iteration x y z
1 0 0 0
2 x1 y1 z1
3 x2 y2 z3
.
n
Calculator Equation:
X = equation with B, C
Y = equation with C, A
Z = equation with A, B
A:B:C:D=X:E=Y:F=Z
A=X
B=Y
C=Z
Gauss-Seidel method
iteration x y z
1 x 0 0
2 x1 y z
3 x2 y1 z3
.
n
Calculator Equation:
X = equation with B, C
Y = equation with C, A
Z = equation with A, B
A:B:C:A=X:B=Y:C=Z
A = X1
B = X2
C = X3