# original reference for Gauss' integration formula

The Gauss $n$-point quadrature formula provides an approximation for an integral in terms of a weighted sum of $n$ function values and this approximation is exact for all polynomials of degree at most $2n-1$. I was wondering why this formula is attributed to Gauss. Does anyone know which original paper by Gauss contained these results?

-