Newton-Gregory Interpolation
Interpolate equally-spaced data efficiently and discover its connection to Taylor series.
Interpolate equally-spaced data efficiently and discover its connection to Taylor series.
Derive and interpret the dual form of an optimization problem.
Plot ellipses using conic, quadratic, and parametric representations.
Implement a regression tree from scratch using only numpy.
Solve constrained optimization problems using your favorite unconstrained solver.
Create cleaner 3D surface plots using radial and elliptical grids in matplotlib.
Fit nonlinear models using Gauss-Newton and Levenberg-Marquardt algorithms.
Compute logarithms and exponentials without a floating point unit.
Compute sine, cosine, and exponentials using only addition, subtraction, and bit shifts.
Fit rational functions to data with poles and discontinuities where polynomials fail.
Approximate functions using polynomial interpolation without solving linear systems.
Tackle tricky integrals with endpoint singularities using a clever variable transformation.
Detect nonlinear relationships that Pearson and Spearman miss.