0.1 Pizza Delivery Driver in a Rush

An introductory scenario for the book’s playground: a delivery vehicle as a point mass, pushed by a force the driver control with the throttle pedal.

The scene

A driver carries pizzas from the shop to a customer’s door. Distance DD along the street(s) is known. Income favors short delivery time — but the pizzas (and the brakes) care how the trip is driven.

We strip the world down. No hills, no lane changes, no fuel cost. Position along the road is a single number xx. Speed is x˙\dot{x} (also written vv). The driver applies a force FF through the throttle. For this first page that force is open-loop: pick FF and hold it. There is no feedback yet, and no braking model — on purpose. The point is to feel Newton’s law before we close the loop in later modules.

Newton’s second law

Isaac Newton’s second law says that the net force on a body equals mass times acceleration:

F=maF = m a

or, solving for acceleration,

a=Fm.a = \frac{F}{m}.

Mass mm (kilograms) measures how stubborn the vehicle is about changing its motion. A loaded bike has larger mm than a light scooter.

Force FF (newtons) is what the drivetrain pushes with. More throttle means larger FF (in this idealized model).

Acceleration aa (metres per second squared) is how quickly speed changes. Same shove on a heavier bike → smaller aa. Same bike with a harder shove → larger aa.

For our 1-D delivery run with no drag,

mx¨=F⇒x¨=Fm.m\ddot{x} = F \qquad\Rightarrow\qquad \ddot{x} = \frac{F}{m}.

Acceleration and speed

Acceleration is not speed. Speed vv says how fast you are moving right now. Acceleration says how fast that speed is changing.

In symbols, starting from rest (v(0)=0v(0) = 0, x(0)=0x(0) = 0) with constant aa:

v(t)=at,x(t)=12at2.v(t) = a t, \qquad x(t) = \tfrac{1}{2} a t^{2}.

So a larger a=F/ma = F/m means you cover distance DD sooner — but you also arrive with higher speed v=2aDv = \sqrt{2 a D}. Without a plan to brake, “faster delivery” and “gentle arrival” fight each other. That tension is why control (not just raw force) will matter later.

Back to the pizza driver

IdeaOn the road
Mass mmRider + bike + stack of boxes
Force FFThrottle / drivetrain push (held constant here)
Acceleration a=F/ma = F/mHow quickly the speedometer needle climbs
Speed vvWhat you read on that needle
Distance DDShop → door

Try a light scooter versus a loaded bike with the same force: the loaded run accelerates less, takes longer, and hits the door slower. Try a hard shove on a short block: you get there quickly with a lot of leftover speed — great for the clock, rough on the pizza.

The widget below is that open-loop experiment. Pick a scenario or drag the sliders, then Run. Physics steps at a fixed Δt\Delta t; the drawing only samples the state for display.

Playground — open-loop shove to the door (no braking)
Acceleration
a = F/m = 4.00 m/s²
Speed
v = 0.00 m/s
Position
x = 0.0 / 80 m
Time
t = 0.00 s

Constant force, no brakes: acceleration is fixed by F/m, speed keeps climbing until the door.