 The important components are the quadrature rule itself

the error estimator

and the logic for deciding which interval to subdivide, and when to terminate.There are several variants of this scheme.The most common will be discussed later.