Hooke's Law

Spring force, mass, amplitude, and simple harmonic motion

Controls

A = 0.30 m
k = 25 N/m
m = 1.0 kg
Friction b = 0.00 kg/s
Equilibrium stretch x₀ = 0.39 m
ω = 5.00 rad/s
T = 1.26 s
Home
Energy Distribution
KE: 0.00 J
PE: 0.00 J
ME: 0.00 J
Heat: 0.00 J
KE
PE
ME
Heat
Total Energy ≈ constant
Total Energy ≈ constant

Graphs

Energy vs Time
Phase Space: x vs v
Damping Comparison

Hooke’s Law Spring Oscillation Simulation with Damping and Energy

This interactive 3D physics simulation demonstrates Hooke’s Law, simple harmonic motion, air resistance, and energy transformation in a vertical spring-mass system.

Hooke’s Law and Spring Motion

Hooke’s Law states that the restoring force of a spring is proportional to the displacement from equilibrium:

F = -kx

The mass oscillates around its equilibrium position. Students can adjust amplitude, spring constant, mass, and friction to observe how each parameter affects the motion.

Damping and Air Resistance

The friction slider represents air resistance. When friction is increased, the oscillation amplitude gradually decreases because mechanical energy is converted into thermal energy.

F_d = -bv

A larger damping coefficient causes the motion to die out faster. With little or no friction, the spring-mass system behaves more like ideal simple harmonic motion.

Energy Transformation

The simulation includes colorful vertical energy bars showing kinetic energy, spring potential energy, total mechanical energy, and thermal heat energy.

E_total = KE + PE + E_thermal

Real-Time Graphs

A graph panel displays energy versus time and a phase-space graph of displacement versus velocity. These graphs help students connect the visible spring motion with mathematical models of oscillation and damping.

What Students Learn

How to Use This Physics Simulation

Related 3JCN Physics Simulations