I need to predict a function that can satisfy the value pairs given below. \begin{array}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hline X & 0.25 & 0.5 & 1 & 2 & 4 & 6 & 8 & 10 & 12 & 14 & 16 & 18 & 20 & 22 & 24 & 26 & 27 \\\hline Y & 3.1 & 3.9 & 4.8 & 6 & 7.35 & 8.2 & 8.65 & 8.75 & 8.4 & 7.75 & 6.9 & 5.9 & 4.8 & 3.8 & 2.9 & 2.5 & 2.42\\\hline \end{array}
I tried plotting $Y$ against $X$, to see the graph shape and got the something like the one in the picture below.

How can I come up with a function that fits this curve well?
Thanks in advance!!
Using MATLAB's curve fitting tool, I could come up with three models that fit your data.
Rational with a numerator of degree $2$ and denominator of degree $4$
Sum of Sine with $5$ terms
Gaussian with $5$ terms
I am sure if you play around with the
fitfunction in MATLAB, you can come up with better models.