Simulation

Kinetic Energy vs Velocity SimulatorKE Grows with Velocity²

Energy & WorkKinetic energy

An object with adjustable mass and speed; KE bar grows quadratically with velocity, linearly with mass

Published: June 6, 2026 · Updated: June 7, 2026

Objective

Verify that kinetic energy scales quadratically with speed and linearly with mass: KE = ½mv². By adjusting mass and speed sliders and watching the KE bar and the KE-vs-speed parabola update in real time, learners confirm that doubling speed quadruples KE while doubling mass only doubles it, and that the parabolic shape is a property of the formula, not of the object's mass.

Setup

  1. Set Mass to 2.0 kg and Speed to 8.0 m/s (the defaults). Press Start. Observe the KE bar on the left panel and the live crimson dot on the parabola graph; note the KE readout shows 64.0 J.
  2. Press Reset. Drag the Speed slider to 10 m/s, note the KE readout (~100 J), then drag it to 20 m/s and note the KE readout (~400 J). Confirm the ratio is 4.00; this is the quadratic law in action.
  3. Press Reset. Set Speed to 10 m/s and Mass to 2 kg, note KE (~100 J). Then set Mass to 4 kg at the same speed, note KE (~200 J). The ratio is 2.00, a strictly linear effect.
  4. Press Reset. Set Mass to 10 kg and Speed to 30 m/s, the maximum slider values. Observe the KE bar fill to 4500 J (the worst-case maximum). The bar should reach exactly 100% height.
  5. While the sim is running at any settings, watch the KE ratio readout: it should hold near 4.00, confirming the ratio KE(2v) / KE(v) = 4 at every speed.
The Kinetic Energy vs Velocity simulator at the start of a run.
The Kinetic Energy vs Velocity simulator at the start of a run.

Analytical Prediction

The kinetic energy formula KE = ½mv² predicts three testable results. First, at default settings (m = 2.0 kg, v = 8.0 m/s):

KE=½ · m · v²
=½ × 2.0 × 8.0²
=1.0 × 64
=64.0 J

Second, doubling the speed from 10 to 20 m/s at m = 2 kg:

KE(v=10) = ½ × 2 × 10² = 100 J
KE(v=20) = ½ × 2 × 20² = 400 J
ratio=400 / 100 = 4.00

Third, doubling the mass from 2 to 4 kg at v = 10 m/s:

KE(m=2) = ½ × 2 × 10² = 100 J
KE(m=4) = ½ × 4 × 10² = 200 J
ratio=200 / 100 = 2.00

At the slider extremes (m = 10 kg, v = 30 m/s), the predicted KE is 0.5 × 10 × 900 = 4500 J, the bar's full-scale maximum.

Results Analysis

After each run, compare the KE readout (#keOut) against the prediction. At default settings (m = 2.0 kg, v = 8.0 m/s) the readout should display 64.0 J to within ±0.1 J; the sim holds speed constant (no friction), so there is no Euler integration drift. The KE ratio readout (#ratioOut) should read 4.00 at any non-zero speed, confirming the quadratic law. When you drag the speed slider from 10 to 20 m/s in Fresh state, the KE bar visually quadruples; use the bar heights as a visual ratio check. The crimson live dot on the secondary parabola graph should lie exactly on the solid blue curve at all times; if the dot drifts off the curve, the physics is incorrect. At the worst-case slider extreme (m = 10 kg, v = 30 m/s), the #keOut should read 4500.0 J and the bar should fill to 100% height without clipping.

The Kinetic Energy vs Velocity simulator after a completed run.
The Kinetic Energy vs Velocity simulator after a completed run.

Source of Error

This simulation models a point mass moving at constant speed with instantaneous elastic wall bounces: no air drag, no rolling resistance, no finite ball deformation on impact, and no gravitational potential energy changes (the ball moves purely horizontally). The KE formula assumes all kinetic energy is translational; rotational KE of a spinning ball is not included. The speed is held analytically constant each frame (KE = ½mv² is evaluated directly, not accumulated by an integrator), so there is no Euler drift; the only numerical residual comes from floating-point arithmetic in the multiplication, which is on the order of 10⁻¹³ J. The gap between the predicted 64.0 J and the displayed readout is therefore purely numerical, not physical.

Further Exploration