Numerical Analysis
Python implementations with step-by-step iteration tables and output traces.
Bisection Method
f(x) = x³ - x - 2 = 0, interval [1.0, 2.0]
Regula Falsi (False Position)
f(x) = x³ - 2x - 5 = 0, interval [2.0, 3.0]
Newton Raphson Method
f(x) = x³ - 3x + 1 = 0, initial guess x₀ = 1.5
Secant Method
f(x) = x² - 4 = 0, x₀ = 1.0, x₁ = 3.0
Fixed Point Iteration
g(x) = cos(x), x₀ = 0.5
Gauss Elimination Method
Forward elimination and back substitution
Gauss-Jordan Method
Diagonalization to reduced row echelon form
Gauss-Jacobi Iteration
Simultaneous displacement iterative solver
Gauss-Seidel Iteration
Successive displacement in-place solver
Lagrange Interpolation
Arbitrary/unequal nodal spacing formula
Newton's Divided Difference
Divided difference table interpolation
Newton's Forward Interpolation
Forward finite difference formula
Trapezoidal Rule
∫₀¹ 1/(1 + x²) dx with n = 6 intervals
Simpson's 1/3 Rule
∫₀¹ 1/(1 + x²) dx with n = 6 intervals
Simpson's 3/8 Rule
∫₀¹ 1/(1 + x²) dx with n = 6 intervals
Euler's Method
dy/dx = x + y, y(0) = 1.0 (h = 0.05)
Modified Euler's Method (Heun's)
Predictor-corrector scheme (h = 0.05)
Runge-Kutta 4th Order (RK4)
4th-order weighted slope predictor (h = 0.05)
Power Method
Dominant eigenvalue and eigenvector of A
Linear Curve Fitting (Least Squares)
Best fit line y = mx + c from coordinate pairs