Projects · University
Numerical methods labs
Twelve lab programs for my numerical methods course, from nonlinear systems and linear solvers to finite-difference methods for partial differential equations.

2 photos
Each lab is a small C++ program (several print their tables with my own hprint) with results plotted in Python. Among them: machine epsilon and floating-point error, Taylor series to avoid cancellation, root finding (Picard, bisection, Newton and secant), systems of nonlinear equations, LU decomposition, the Thomas algorithm, Jacobi and other iterative solvers, finite-difference derivatives, Newton interpolation on equidistant and Chebyshev nodes (showing Runge's phenomenon), boundary value problems, explicit, implicit and trapezoidal time stepping with stability analysis, and Crank–Nicolson for the heat equation solved with both the Thomas algorithm and Jacobi iteration.


