SHM Displacement at Time t

x=Acos⁡(ωt)x = A \cos\left(\omega t\right)

Worked example: A = 5 cm, ω = 4 rad/s, t = 0.5 s → −20.81 mm — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

A snapshot in time →

Grade 11Grade 11 Math — Functions & Applications

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning.

See your Report Card
Compete with your friends
share your results
Learning zone

SHM Displacement at Time t explained

Axtω

Any system whose restoring force grows in proportion to displacement — a mass on a spring, a small-swing pendulum, a quartz tuning fork — traces a cosine in time: x = A cos(ωt), where ω = 2πf is the angular frequency in rad/s. Released from full stretch, a 5 cm amplitude oscillator at ω = 4 rad/s sits at 0.05 × cos(2 rad) ≈ −0.0208 m after half a second, already past centre and heading for the far side.

The cosine form assumes the clock starts at maximum displacement; start from the equilibrium point instead and you need a sine, or equivalently a phase shift. Christiaan Huygens turned this regularity into the first pendulum clock in 1656, cutting timekeeping error from about 15 minutes a day to roughly 15 seconds; today the same equation runs the 32,768 Hz quartz crystal in every wristwatch. Note that solving for t or ω returns only the first solution from arccos — the motion repeats forever, so infinitely many later times give the same displacement.

SHM Displacement at Time t formula

x=Acos⁡(ωt)x = A \cos\left(\omega t\right)
Where
  • xx= Displacement (m)
  • AA= Amplitude (m)
  • ω\omega= Angular frequency (rad/s)
  • tt= Time (s)