# Trigonometric Fitting and Interpolation

Trigonometric Fitting and Interpolation

Trigonometric functions might be the best choice for fitting or interpolating periodic data. If the highest order (period) of the trigonometric function is less than 10, then the least-squares fit to the 10 points is shown. If the order is 10, then the interpolating trigonometric function is plotted. The values of the 10 data points are controlled by the 10 sliders. The checkbox adds a polynomial interpolation to the plot for comparison.