Curve fitting of a damped harmonic oscillator

Click For Summary
SUMMARY

The discussion focuses on finding a mathematical function to fit data from a damped harmonic oscillator experiment, specifically using the form sin(at)e^-bt. The experiment involved a torsion balance with a mirror oscillating with small lead balls to calculate the gravitational constant, achieving a precision within 0.05% of the accepted value. The user seeks a visual representation of the oscillation data, as their current method only captures the endpoints of the oscillation. They express frustration with the software Origin for generating the required visual output.

PREREQUISITES
  • Understanding of damped harmonic motion
  • Familiarity with mathematical functions, specifically sinusoidal and exponential functions
  • Experience with data visualization tools, particularly Origin
  • Knowledge of experimental physics related to gravitational constant measurements
NEXT STEPS
  • Research methods for curve fitting in Python using libraries like SciPy
  • Learn how to use Origin for data visualization and fitting functions
  • Explore the mathematical derivation of damped harmonic oscillator equations
  • Investigate alternative software for data analysis and visualization, such as MATLAB or R
USEFUL FOR

Physics students, experimental researchers, and data analysts involved in modeling oscillatory systems and visualizing experimental data.

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

tPQ1E.jpg


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_for_two-pole_feedback_amplifier.PNG

Homework Equations


The Attempt at a Solution

 
Physics news on Phys.org
The formatting of your post went nuts, is the picture really big, can you edit?
 

Similar threads

Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
2K
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
Replies
3
Views
988
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K