Curve fitting of a damped harmonic oscillator

1 reply · 6K views · last reply
Liquidxlax
Messages
312
Reaction score
0

Homework Statement



I was wondering if there was a general method for finding a function that fits a set of data for a damped harmonic oscillator

I'm currently writing up a presentation on the experiment for the gravitational constant and the way i did the experiment was to use a torsion balance with a mirror at the center that oscillates with small lead balls a distance b from the mirror.

I managed to calculate the gravitational constant with in .05% of it's given value. Problem is that i think my prof wanted a visual representation of the oscillation. While my method was just to view the end points of the oscillation which is generally all you need as i have acquired such a good value.

Pictures are usually better than words, so what i have Origin is a pain sorry

Line graph of amplitude against time, showing a damped oscillation: points start near 83 and alternate above and below a decreasing trend, with amplitude falling from about 83 to about 74.5 over roughly 2500 time units.


what I'm asking is if i could generate a function to fit this of the form sin(at)e^-bt

such that

Step response plot of a damped oscillator against time for three damping values, mu = 6, 2 and 1, with a dashed step input and dashed envelope curves; the mu = 6 curve oscillates strongly, mu = 2 less so, and mu = 1 rises smoothly without overshoot.

Homework Equations


The Attempt at a Solution

 
The formatting of your post went nuts, is the picture really big, can you edit?