How to finding the line of best fit for a exponential decay set of data points

1.1k Views Asked by At

Im having some trouble trying to find a line of best fit that would go through the values of some values for a chemistry experiment.

Here is the data:

\begin{array}{|c|c|c|c|} \hline Reaction Time(s)& Concentration (M) \\ \hline 78 & 0.15\\ \hline 84 & 0.14\\ \hline 89 & 0.13\\ \hline 95 & 0.12\\ \hline 106 & 0.11\\ \hline 117 & 0.10\\ \hline 127 &0.09 \\ \hline 147 & 0.08\\ \hline 168 & 0.07\\ \hline 188 & 0.06\\ \hline 353 & 0.05 \\ \hline 518 & 0.04\\ \hline 682 & 0.03\\ \hline \end{array}

enter image description here And here is the graph (feel free to ignore the blue line).

Is there any exponential decay function that could go through these to give a $r^2$ value? I tried on my ti-84 plus with no luck

1

There are 1 best solutions below

4
On

You should check non-linear regression which should be implemented in different software. For fun, I recently coded a script in python that does exaclty what you want. I did run your dataset in it and got the folowing result:

Exponential

The equation of the exponential is $$ae^{-bx} + h$$ with the value $a = 0.339833797871496$, $b= 0.0146726062591541$ and $h =0.0391506240940973$. The $r^2$ value is $0.989065791920668$.