Numerical Analysis

Python implementations with step-by-step iteration tables and output traces.

01

Bisection Method

f(x) = x³ - x - 2 = 0, interval [1.0, 2.0]

expand_more
02

Regula Falsi (False Position)

f(x) = x³ - 2x - 5 = 0, interval [2.0, 3.0]

expand_more
03

Newton Raphson Method

f(x) = x³ - 3x + 1 = 0, initial guess x₀ = 1.5

expand_more
04

Secant Method

f(x) = x² - 4 = 0, x₀ = 1.0, x₁ = 3.0

expand_more
05

Fixed Point Iteration

g(x) = cos(x), x₀ = 0.5

expand_more
06

Gauss Elimination Method

Forward elimination and back substitution

expand_more
07

Gauss-Jordan Method

Diagonalization to reduced row echelon form

expand_more
08

Gauss-Jacobi Iteration

Simultaneous displacement iterative solver

expand_more
09

Gauss-Seidel Iteration

Successive displacement in-place solver

expand_more
10

Lagrange Interpolation

Arbitrary/unequal nodal spacing formula

expand_more
11

Newton's Divided Difference

Divided difference table interpolation

expand_more
12

Newton's Forward Interpolation

Forward finite difference formula

expand_more
13

Trapezoidal Rule

∫₀¹ 1/(1 + x²) dx with n = 6 intervals

expand_more
14

Simpson's 1/3 Rule

∫₀¹ 1/(1 + x²) dx with n = 6 intervals

expand_more
15

Simpson's 3/8 Rule

∫₀¹ 1/(1 + x²) dx with n = 6 intervals

expand_more
16

Euler's Method

dy/dx = x + y, y(0) = 1.0 (h = 0.05)

expand_more
17

Modified Euler's Method (Heun's)

Predictor-corrector scheme (h = 0.05)

expand_more
18

Runge-Kutta 4th Order (RK4)

4th-order weighted slope predictor (h = 0.05)

expand_more
19

Power Method

Dominant eigenvalue and eigenvector of A

expand_more
20

Linear Curve Fitting (Least Squares)

Best fit line y = mx + c from coordinate pairs

expand_more
check_circle Code copied to clipboard!