The continuous problem is broken into  discrete intervals; quadrature or numerical integration determines the weights and locations of representative points for the integral.
When dealing with a continuous problem, it is divided into discrete segments, and quadrature or numerical integration calculates the weights and locations of representative points for the integral.