From http://en.wikipedia.org/wiki/Trigonometric_interpolation trigonometric interpolation can be calculated as follows:

Now assume we have 6 data points (0, 0.1), (1, 0.3), (2, 0.4), (5, 0.3), (6, 0.2), (7, 0). We want to interpolate the two missing points at 3 and 4.

How can we calculate the two missing points using trigonometric interpolation?
Here is a simple answer with the Pascal code mentioned in the comment. Please note that only the missing points are computed not the explicit polynomial:
The output is: