Numerical Methods and Matrix Tools
Use these small numerical tools to understand a method before transferring it into a larger calculation. Start with a known example, check input dimensions and units, and compare residuals or reconstructed values. A numerical answer depends on its conditioning and stopping criteria; having a finite output does not establish accuracy. Each tool documents the exact model and its bounds alongside an original worked example.
Interpolate and integrate sampled values
Polynomial interpolation, shape-preserving piecewise cubics and tabulated Romberg integration make different assumptions about the underlying function. Review node spacing, extrapolation policy and smoothness before comparing answers. Quadrature rules and finite-difference stencils generate weights that still require correctly sampled function values. Keep original measurements and inspect whether a small perturbation changes the result substantially.
Solve and decompose small matrices
Jacobi and Gauss–Seidel can fail to converge on unsuitable systems. Conjugate gradients and Cholesky require a numerically positive-definite symmetric matrix, while QR requires independent columns. Power iteration depends on its initial direction and eigenvalue separation. The tools expose the factorization or residual so you can reconstruct the original problem and compare the error rather than relying on a success label.
Inspect bounded stochastic models
The finite-capacity queue assumes Poisson arrivals, exponential service and a fixed number of available places. The random-walk model assumes independent unit steps and fixed absorbing boundaries. These are mathematical experiments with supplied parameters; neither is an observation of real customer traffic or a recommendation about gambling. Compare assumptions with the situation you actually need to describe.
All calculations run locally without a solver API. Inputs are bounded to keep the browser responsive, and results use double precision rather than exact symbolic arithmetic. Retain source data, record parameters and compare a simple independently calculated case before using a result in a larger analysis.