Worked example
Old route operating cost: 105
Inputs
- Old route distance (km): 100
- New route distance (km): 80
- Old route duration (h): 3
- New route duration (h): 2.5
- Distance cost (currency/km): 0.4
- Time cost (currency/h): 20
- Old tolls: 5
- New tolls: 8
Uses user-supplied per-distance and per-time costs; they must not count the same expense twice.
Currency changes the labels, not the amounts. No exchange-rate conversion.
Add old distance, time and toll costs.
Add new distance, time and toll costs.
Subtract new operating cost from old.
Uses user-supplied per-distance and per-time costs; they must not count the same expense twice. Compares one route traversal.
OpenStax: Solve proportions and their applications ↗Old route operating cost: 105
Old route operating cost: 105