Stirling formula interpolation example. Start of the program. It is a good approximation, leading to accurate results even for small values of n . Stirling Interploation Stirling Approximation or Stirling Interpolation Formula is an interpolation technique, which is used to obtain the value of a function at an intermediate point within the range of a discrete set of known data points. You can find more Numerical Methods tutorial using C language here. Stirling Formula is obtained by taking the average or mean of the Gauss Forward and Gauss Backward Formula. Then it finds where the given Ne is in the n array. A Fibonacci sequence is defined as follows: the first and second terms in the sequence are 0 and 1. This can also be used for Gamma function. Step 05. for i=0; i