Compose the two constructions in part (d) to obtain
using two queries to . For
over , the finite difference is
This is affine with slope . Apply the one-query affine procedure from part (c) to the implemented oracle . It returns with certainty, after which the fixed classical computation
recovers the quadratic coefficient. Since one use of consists of one use each of and , the algorithm makes exactly two calls to the original oracle .
Truncation error Created 2026-09-29 Updated 2026-10-03
A truncation error is the error introduced by replacing an exact mathematical operation with a finite approximation, such as replacing a derivative by a finite difference.