As a wheel rotates at constant speed, a connected piston moves back and forth in a straight line, slowing to a stop at each end of its stroke. Model the piston's position as a function of the wheel's rotation angle to see why.
Start here β this is the source that inspired this exploration.
A wheel-and-crank mechanism converts circular motion into straight-line motion: as the wheel turns at a constant angular speed, a rod connected to a point on its rim pushes a piston back and forth in a straight line. Even though the wheel spins at constant speed, the piston does not move at constant speed β it pauses briefly at each end of its stroke and moves fastest in the middle. This exploration models the piston's position as a function of the wheel's rotation angle, and uses the derivative to find where the piston moves fastest and where it momentarily stops.