Sin Function Data Analysis

M

Matt

Hi,
I currently have a set of data for a pendelum, resembeling a sin function.
What functions or equations in excell can I use to find the sin function
representing this pendelum using my data?

Thanks!
 
M

Matt

In case this helps, here is also a sample of my data. It is one column:

-16.8229
-13.4258
-3.7614
7.8206
16.1112
17.4997
11.3897
0.587
-10.0967
-15.8696
-14.1202
-5.6565
5.5832
14.5154
17.2058
12.6234
2.7443
-8.0242
-14.8725
-14.5632
-7.3823
3.3322
 
B

Bernard Liengme

You will have to do better than that to get homework help.
If you plot the data (XY plot) you will see a sine wave.
Were the measurements made every second, every 1/10 of second.....?
What exactly do you want to find - the length of the pendulum, the value of
g ?
You have not given us enough data.
The sine function in Excel is =SIN(A1) bit if A1 has degrees you need
=SIN(RADIANS(A1))
best wishes
 
D

David Biddulph

When you are replying to a message, remember to quote enough of the original
message to put your new contribution into context.

In this case, your original question was:
I currently have a set of data for a pendelum, resembeling a sin function.
What functions or equations in excell can I use to find the sin function
representing this pendelum using my data?

One option is to put your data values in column B. Put a set of dependent
variables in column A, say 0 to 21 in your case.
You could then put a sine wave equation in say column F, using a formula
=C$24*SIN(PI()*(A1-D$24)/E$24), using constants in C24:E24.
You can put an error squared term in column G, with the formula =(F1-B1)^2,
and then sum the error squared terms with =SUM(G1:G22)

You can then use Tools/ Solver to minimise this last term by changing
C24:E24, but you may need a reasonable guess at the values initially to
allow it to converge, so you'll probably need to look at the form of the
data to guess those initial values.

It's probably useful to plot the original data and your sine-wave
approximation together on a chart to see how well you've done.
 
M

Matt

What i'm looking to find is an equation that models the data so i can put
that equation into matlab. I know the length of the pendulum, g, etc., and
each set of data is taken every 1 cylce- the time measurements arent
significant for right now. What I mean't more was a trendline- for charts, i
know that you can create a linear regression, or "best fit" line and show the
equation. I am looking to do something like this, but for a sine curve. any
ideas? thanks!

matt
 
M

Matt

also in regards to the data, the data is measured in degrees offset from the
resting position. heres the data again:

-16.8229
-13.4258
-3.7614
7.8206
16.1112
17.4997
11.3897
0.587
-10.0967
-15.8696
-14.1202
-5.6565
5.5832
14.5154
17.2058
12.6234
2.7443
-8.0242
-14.8725
-14.5632
-7.3823
3.3322
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top