https://profilbaru.com/Cavalieri's_quadrature_formula