What is the average energy of a harmonic oscillator with varying periods?

  • Thread starter Thread starter Lewis
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on calculating the average kinetic energy of a harmonic oscillator using the integral formula =(1/T) Integral[0.5 m(x^2), {t, 0, T}]. The position function is defined as x(t)=5.0Sin[wt], where w=2pi/y, and the mass is specified as 0.100kg. Participants are tasked with evaluating this integral over a period of 5 seconds for varying periods y of 1, 2, 3, 4, and 5 seconds, and subsequently plotting the average kinetic energy against these periods.

PREREQUISITES
  • Understanding of harmonic oscillators and their energy equations
  • Familiarity with integral calculus and numerical integration methods such as Simpson's and Trapezoidal rules
  • Knowledge of trigonometric functions, specifically sine functions
  • Basic proficiency in using Mathematica for mathematical computations
NEXT STEPS
  • Learn how to implement Simpson's and Trapezoidal rules for numerical integration
  • Study the properties of harmonic oscillators in classical mechanics
  • Explore the use of Mathematica for plotting functions and data visualization
  • Investigate the relationship between period and energy in oscillatory systems
USEFUL FOR

Students and professionals in physics, particularly those studying mechanics, as well as mathematicians interested in numerical methods for integration.

Lewis
I believe the following problem involves using the Simpsons/Trapazoidal rule, and I've tried everything and get nowhere but rediculus integrals. Any help would be greatly appreciated.


For the harmonic oscillator, the kinetic energy is:

<K>=(1/T) Integral[0.5 m(x^2), {t, 0, T}] (I hope that's clear, I typed it as I would in mathematica, sort of)

where x is the position. Now if x(t)=5.0Sin[wt] then determine the average energyover a period of time equal to 5 seconds for differing values of the period y, where w=2pi/y . Calculate the average kinetic energy if the mass is 0.100kg and the period y takes on values of 1,2,3,4 and 5 seconds and then plot the average kinetic energy against period.


So in case the t's are confusing, T=5, and the upper limit on the integral would be 5, the lower 0 and the variable of integration would be t. Thanks very much.
 
Physics news on Phys.org
The integral of sin2 (\omegat) should be straightforward. Squaring the function ensures it is positive and nonzero.
 
Okay, I see now. Thank you.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
11
Views
3K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K