Approximate data to $y=a*e^{b*x}$ using method of least squares

48 Views Asked by At

I have some data. For example

x 1.2 2.8 4.3
y 7.5 16.1 38.9

I wonder how to find $a$ and $b$ of function $y=a*e^{bx}$ that approximates the data with method of least squares.

1

There are 1 best solutions below

0
On BEST ANSWER

Take the logarithm of both sides: $$\ln y = \ln a + bx$$

And now use linear regression to find $a$ and $b$.