Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-3/15d/e/solution

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 .

New to topics? Read the docs here!