
Dr. Neal G. answered 08/23/15
Tutor
5
(3)
Princeton Ph.D. retired engineering professor
y = a* b^x
take the logarithm of both sides. Any base will do. I will use the natural log.
ln(y) = ln(a) + xln(b). If we set Y=ln(y), A = ln(a) and B = ln(b), we have the equation of a straight line
Y = A + Bx.
You have a set of data where the number of swings is the x -coordinate and amplitude is the y coordinate. Take the logarithm of all the y's to get the Y's . So now you have coordinates for (x,Y). Now use Google Sheets or Excel to do a straight line fit to the data(x,Y). The slope of the straight line gives you B and the Y intercept gives you A. Then undo the logarithm by forming a = exp(A) and b = exp(B) to get a and b.
Hope this helps