Work, energy and power
Head-on collision
Section titled “Head-on collision”Momentum is always conserved in a collision. Energy is a different story: in a perfectly elastic collision the kinetic energy is also conserved, in a perfectly inelastic one the two bodies stick together and as much energy as possible is lost to heat and deformation. The coefficient of restitution dials between the two. Watch the dissipated bar in the energy panel jump at the moment of impact.
Momentum conservation and the definition of (separation speed over approach speed) give
The kinetic energy lost is .
The impact is an impulse solved at the velocity level with Newton’s restitution rule. The energy it removes is computed exactly from the impulse and credited to the dissipation ledger, so the energy panel balances to 1e-10.
Bob in a vertical circle
Section titled “Bob in a vertical circle”Swing a bob on a string in a vertical circle. At the top the string can only pull, never push, so if the bob is too slow the string goes slack and the bob falls inward instead of completing the circle. There is a minimum speed at the bottom that just makes it over the top. Set the speed slider a little below it and watch the event log.
At the top, . The string stays taut while . Energy conservation between bottom and top, , gives the minimum
Tension at the bottom is .
The string is a rope constraint, so it cannot push. When the required tension would be negative the engine lets the
rope go slack and emits a rope_slack event. Validated: the event appears when launched at 95 % of the critical speed
and not at 105 %.
A block runs into a spring
Section titled “A block runs into a spring”A block slides along a smooth floor into a spring. The spring pushes back harder the more it is squeezed, slowing the block until, for an instant, it stops. At that instant all the block’s kinetic energy is stored in the spring. Then the spring gives every joule back, and the block leaves at the speed it came in with, the other way.
Open the energy tab and watch kinetic turn into potential and back, with the total not moving.
At the greatest compression the block is at rest:
The spring’s push is then at its largest, . A stiffer spring is squeezed less but pushes harder.
The spring here has a free end: it pushes when it is squeezed shorter than its natural length and does nothing otherwise, as a real spring that is not hooked to anything does. It has no mass, as in the textbook, so no energy is lost when the block meets it. Compression, greatest force and return speed all agree to a part in 10 000.
A ball dropped onto a spring
Section titled “A ball dropped onto a spring”Set the ball gently on the spring and it would squeeze it by its own weight and rest there. Dropped from a height, it squeezes the spring much further. It arrives moving, and it keeps losing height, and so keeps gaining energy from gravity, all the while the spring is slowing it.
That second part is easy to miss. The energy the spring has to take in is not but .
From the release to the lowest point the ball falls and is at rest at both ends:
Even for , a ball let go from the top of the spring, this gives : twice the squeeze it would rest at.
The same free-ended spring, standing upright. The ball is kept on the vertical line through it. The greatest compression matches the formula to a part in 10 000 at three different heights and stiffnesses, and the scene ends a moment after the spring has thrown the ball back up.
A glancing collision
Section titled “A glancing collision”Two equal discs on a smooth table, seen from above; one is at rest and the other hits it off-centre. However glancing the blow, they leave at right angles to each other. Hit it nearly square and the struck disc takes nearly everything; barely clip it and it hardly moves, while the first carries on almost undisturbed. In between, the right angle holds.
Drag the incoming disc sideways to change how off-centre the hit is.
Momentum is conserved, , and so, for an elastic collision of equal masses, is kinetic energy, . Squaring the first and comparing with the second gives
Smooth discs can only push each other along the line joining their centres, so the struck disc leaves along that line, at an angle to the incoming path with for an offset . Then and .
The right angle, the momentum and the kinetic energy all hold to round-off: they follow from the collision being elastic, whatever its geometry. How the speed is shared depends on exactly where the discs touch. The engine notices a contact up to one step late, with the discs a few millimetres into each other, which turns the line of centres by a fraction of a degree: the angles agree to about half a degree and the speeds to about one percent, a little worse for a hit that barely grazes.