AP® Physics 1 trainer
Oscillator lab
Set a mass bouncing and find what changes its period.
About this tool
A mass on a spring and a pendulum, both simulated from Newton's second law. Change the mass, the spring constant, the length, the amplitude or the planet, and see which ones change the period. The graphs and energy bars come from the same simulation as the picture.
Simple harmonic motion
- SHM: a restoring force proportional to the displacement and opposite to it (F = −k x for a spring). The pendulum is close to SHM for small angles, where its restoring torque is nearly proportional to the angle.
- Period: spring T = 2π√(m/k); pendulum T = 2π√(ℓ/g). Frequency f = 1/T. The amplitude does not change the period; the pendulum's mass does not either.
- Graphs: x = A cos(2π f t) when released from rest at +A. Speed is greatest at x = 0, where the acceleration is zero; the acceleration is greatest at the ends, where the object stops for an instant.
- Energy: K + U is constant; E = ½ k A² for a spring. Vertical spring: measured from the new equilibrium (stretched m g / k), it oscillates exactly like a horizontal one with the same period.
- The pendulum here obeys the full equation ℓ θ'' = −g sin θ, so at large angles its period is a little longer than 2π√(ℓ/g); the page shows by how much.
g = 9.8 m/s² on Earth. Numbers count within 2%.
Notes for this topic: Frequency and Period of SHM