Posted by **Count Iblis** on Sunday, May 13, 2007 at 5:12pm.

This is a reply to the question posted here

http://www.jiskha.com/display.cgi?id=1178989522
As I explained there, you can find the parameters by defining:

x1 = Sin(0.49 t)

x2 = Cos(0.49 t)

and treat this as an ordinary linear regression problem. If we denote the height by Y, then we want to find parameters A, B, and C such that Y is best approximated by:

Y = A + B X1 + C X2

In regression analysis one chooses the parameters such that the sum of the squared deviations is minimized. This yields the follwing 3 equations:

Sum_{data points} [y - A - B X1 - C X2 ] = 0

Sum_{data points} X1 [y - A - B X1 - C X2 ] = 0

Sum_{data points} X2 [y - A - B X1 - C X2 ] = 0

So, all you have to do is to calculate the summations:

Sum Y = 81.3

Sum X1 = 0.0508842

Sum X2 = 1.17151

Sum X1^2 = 6.42279

Sum X2^2 = 7.57721

Sum X1 X2 = 0.0502369

Sum X1 Y = -0.837748

Sum X2 Y = -15.4769

And solve the equations (N = 14, the number of data points):

Sum Y - N A - B Sum X1 - C Sum X2 = 0

Sum Y X1 - A SumX1- B Sum X1^2 - C Sum X2 X1 = 0

Sum Y X2 - A SumX2- B Sum X1 X2 - C Sum X2^2 = 0

You then find:

A = 6.0569

B = -0.155126

C = -2.97792

You can rewrite the fit function as:

6.05 + 2.98 Sin(0.49 t - 1.62)

## Answer This Question

## Related Questions

- Arts/social science - What is the relevance of academic study of the Bible today...
- Spanish for Alicia and/or Vicky - Be sure you see all 3 of your posts: 1. http...
- written communication - What steps would one take to ensure that the purpose of ...
- English - In modern English, the comparative/superlative for the word "bad" is ...
- To Kuromi - re English - http://www.jiskha.com/display.cgi?id=1254257821 and ...
- Message for KMTRENd - One would have thought that the least you could have done...
- social project - the need to preserve and protect konark temple Answered before...
- Scooby -- AE - I just saw your reply from last night and responded to it. http...
- English - anyone know where my other question went regarding the mythology ...
- if you're in the mood for riddles - The riddle forum is back up: http://www....

More Related Questions