Skip to content
FiftyCalc Free calculators for all 50 states

Simple Harmonic Motion Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the amplitude, the frequency, the starting phase and the time.

Result

Sample figures

Position x—cm

Angular frequency ω (rad/s) —

  • Velocity (cm/s)—
  • Acceleration (cm/s²)—
  • Maximum speed Aω (cm/s)—
  • Maximum acceleration Aω² (cm/s²)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Simple Harmonic Motion Calculator

Amplitude, in cm: enter 0 or more. Prefilled example: 5.

Frequency, in Hz: enter 0 or more. Prefilled example: 2.

Initial phase φ, in °: enter a number. Prefilled example: 0.

Time, in seconds: enter 0 or more. Prefilled example: 0.1.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Amplitude, in cm: enter 0 or more.
  2. Frequency, in Hz: enter 0 or more.
  3. Initial phase φ, in °: enter a number.
  4. Time, in seconds: enter 0 or more.
  5. Read the result: Position x; the panel also shows Angular frequency ω (rad/s), Velocity (cm/s), Acceleration (cm/s²), Maximum speed Aω (cm/s) and Maximum acceleration Aω² (cm/s²).

How this calculator works

Simple harmonic motion: x(t) = A cos(ωt + φ), v(t) = −Aω sin(ωt + φ) and a(t) = −ω² x(t), with A the amplitude, ω = 2πf the angular frequency and φ the initial phase.

The motion repeats every period T = 1 ÷ f. Speed is highest at the center and acceleration is highest at the ends of the swing.

The formula

  1. W=2×π×f
  2. X=A×cos⁡(W×t+rad⁡(ph))
Symbols used in the formula
SymbolMeaningUnit
AAmplitudecm
fFrequencyHz
phInitial phase φ°
tTimeseconds
WAngular frequency ω (rad/s)
XPosition xcm
rad(x)the angle x, converted from degrees to radians.

Worked example

Amplitude5 cm
Frequency2 Hz
Initial phase φ0 °
Time0.1 seconds
Angular frequency ω (rad/s)12.5664
Velocity (cm/s)-59.7566
Acceleration (cm/s²)-243.99
Maximum speed Aω (cm/s)62.8319
Maximum acceleration Aω² (cm/s²)789.5684
  1. W=2×3.14159×2=12.5664
  2. X=5×cos⁡(12.5664×0.1+rad⁡(0))=1.54508

Position x 1.5451 cm

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

Where is a 5 cm, 2 Hz oscillator 0.1 s after starting at its maximum?

At about 1.5451 cm, moving back at about −59.76 cm/s.

What is its top speed?

About 62.83 cm/s, A × ω = 5 × 4π.

Questions answered

Related calculators