I know this has been asked a few times before, but I'm struggling to apply it to my scenario...
I have some known values in a table: $$ \begin{array}{|c|c|} \hline \text{Degrees} & \text{Percent} \\ \hline 5 & 9.0949720917 \\ 10 & 9.788059925 \\ 15 & 10.4054090336 \\ 20 & 10.9435666945 \\ 25 & 11.3984372031 \\ 30 & 11.7665587215 \\ 35 & 12.045129627 \\ 40 & 12.2320298195 \\ 45 & 12.325836884 \\ \hline \end{array} $$
I'd like to be able to calculate any percentage between 0 and 45 degrees. So I used the following formula:
$$ y(t)= a X e^{kt} $$
$$ 12.325836884 = 9.0949720917 X e ^{45k} $$
Solve k:
$$ 1.355236361 = e ^ {45k} $$
Take natural log:
$$ ln(1.355236361) = 45k $$
Rearrang:
$$ k = ln(1.355236361)/45 $$
So, to check to see if the calculation holds at 20 degrees:
$$ y(20) = 9.0949720917 e ^ {(ln(1.355236361)/45) 20} = 10.4106 $$
Which is incorrect...
I'd be very grateful if someone could point out the failure in my feeble attempt at mathematics.
I'm not sure what you want to know, but here's a guess.
The dots in the image are your data and the solid line is a curve fit to the data using the function $$ \theta = a\log(kt) $$ where $\theta$ is the angle and $t$ is the percentage. The fit parameters are $a$ = 1.58 and $k$ = 55.3. Once you have a fit you can find values within the range of interest (excluding $t = 0$).
Another option is to fit a sigmoidal curve as shown in the figure below.
The equation in this case is $$ \theta = \frac{a}{b + \exp(-kt)} $$ with fitted parameters $a$=22.9, $b$=1.78, $k$=0.06.
Alternatively you can interpolate using linear (or higher order/NURB/spline) interpolation between points.