Tools · Free play

Motion Lab

Pick a scene, type a formula or change the numbers, and watch a particle move along a line with its position, velocity and acceleration graphs. Give the position as a function of time and see its derivatives, or give the acceleration as a function of time, velocity or position and let the lab integrate it. Draw a velocity graph point by point, follow two cars from each other's point of view, or pull on a block and tackle.

Choose a scene

Scene

Explore

Figure M.1 The chosen scene. Press Play or drag the time slider, and change the formula or the numbers in the panel; the motion is recomputed at once. Colors are the module's: position blue, velocity green, acceleration red; amber lines on the graphs mark the instants where the velocity is zero.

Things to try

  1. A vibration. Type \(s = 0.5\sin 2t\): the acceleration graph is the position graph turned upside down and four times as tall, because \(a = -4s\).
  2. Up and down. A ball thrown up at \(15\ \text{m/s}\) has \(a = -9.81\ \text{m/s}^2\) at every instant, including at the top where \(v = 0\).
  3. Drag. With \(a = -0.01v^2\) the boat of Lesson 5 never quite stops: the distance keeps growing, ever more slowly.
  4. A spring with damping. Add a drag term to the spring: \(a = -4s - 0.5v\). The vibration dies away, and the amber lines mark each turn.
  5. Back and forth. Drag the velocity graph below zero for a stretch: the particle backs up, the position graph turns down, and the distance traveled keeps growing while the position falls.
  6. Overtaking from rest. Car \(B\) starts \(60\ \text{m}\) behind \(A\), at rest, with \(a = 3\ \text{m/s}^2\), while \(A\) cruises at \(20\ \text{m/s}\). Watch from \(A\).
  7. Four parts of rope. The load rises at a quarter of the speed of the free end.

How the lab works

A position formula is differentiated numerically to give \(v\) and \(a\) (Lesson 3). An acceleration formula \(a(t, s, v)\) is integrated in thousands of small time steps with the fourth-order Runge–Kutta method, which handles accelerations that depend on time, velocity or position alike (Lesson 5). Constant acceleration and the velocity graph are solved exactly (Lesson 4 and Lesson 6). The distance traveled adds up every small step as a positive length.