Mathematics of the steam locomotive

The narrow gauge railway line between
Napier and Gisborne in the North Island
of New Zealand passes through some
extremely rugged country. Here a J1234
climbs a steep grade just south of
the town of Wairoa.