Rational interpolation is suitable for interpolating
logarithmic or exponential relations of the data points
e.g. NTC thermistor characteristics than Lagrange interpolation,
with its better accuracy and less computational complexity.
Input