An educational adaptive quadrature algorithm | Synapse