/malgo

Common algorithms to solve mathematical problems

Primary LanguagePython

malgo

A collection of common math algorithms. We sort according to difficulty, in particular, based on how much theory would be required to understand these algorithms.

Easy

  • Fibonacci sequence
  • k-Factorials
  • Price discount
  • Differentiation (Finite difference method)
  • Roots (Newton, Secant, Bisection)
  • Monte-Carlo integration

Medium

  • Gaussian elimination
  • Basic integration methods (Trapezoidal, Midpoint, Simpson)
  • Lagrange interpolation
  • Polynomial fit
  • Initial value problems (Euler, Runge-Kutta)
  • Shooting method (for boundary value problem)

Hard

  • Gaussian Quadrature