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
Position xcm
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Amplitude, in cm: enter 0 or more.
- Frequency, in Hz: enter 0 or more.
- Initial phase φ, in °: enter a number.
- Time, in seconds: enter 0 or more.
- 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
| Symbol | Meaning | Unit |
|---|---|---|
| Amplitude | cm | |
| Frequency | Hz | |
| Initial phase φ | ° | |
| Time | seconds | |
| Angular frequency ω (rad/s) | ||
| Position x | cm | |
rad(x) | the angle x, converted from degrees to radians. |
Worked example
| Amplitude | 5 cm |
|---|---|
| Frequency | 2 Hz |
| Initial phase φ | 0 ° |
| Time | 0.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 |
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π.