Rate
Syntax
Rate distance
Parameters
- distance: The distance of the race.
Description
Calculates and displays the average speed (distance per unit time) based on the runner's time and the specified race distance.
Remarks
This command must follow an Event command that provides the time. If the distance is specified in miles, the output will be in miles per hour. If the distance is specified in kilometers, the output will be in kilometers per hour. The command calculates speed using the formula: (distance × 3600) / time_in_seconds.
Examples
To calculate speed in miles per hour for a 26.21875 mile race:
Event TIME
Rate 26.21875
To calculate speed in kilometers per hour for a 10 km race:
Event TIME
Rate 10