- #1
rey242
- 41
- 0
Homework Statement
For the following data, find the least squares fit of the given form
x=1,2,3,4,6
y=14,10,8,6,5
h(x)=ae^x+be^(-x)
Homework Equations
The Attempt at a Solution
So I tried to linearize the equation by taking the natural log of everything
ln(h)=ln(ae^-x)+ln(be^ex)
ln(h)=ln(a)+ln(b)+x-x
that when I run into a problem, I eliminate the x's.
My question is, is there another way to linearize the equation or should I continue though?