Test of Latex At first, we sample in the ( is odd) equidistant points around : where is some step. Then we interpolate …