/**
 * Given the distance (in meters) traveled by an aerospace vehicle and the time (in seconds) it took,
 * calculate the average speed (in meters per second).
 *
 * @param distance The distance traveled by the aerospace vehicle in meters.
 * @param time The time taken by the aerospace vehicle to cover the distance in seconds.
 * @return The average speed of the aerospace vehicle in meters per second.
 */
fun calculateAverageSpeed(distance: Float, time: Float): Float {

    val speed = distance / time
    return speed
}
/**
 * Given the distance (in meters) traveled by an aerospace vehicle and the time (in seconds) it took,
 * calculate the average speed (in meters per second).
 *
 * @param distance The distance traveled by the aerospace vehicle in meters.
 * @param time The time taken by the aerospace vehicle to cover the distance in seconds.
 * @return The average speed of the aerospace vehicle in meters per second.
 */
fun calculateAverageSpeed(distance: Float, time: Float): Float {
/**
 * Given the distance (in meters) traveled by an aerospace vehicle and the time (in seconds) it took,
 * calculate the average speed (in meters per second).
 *
 * @param distance The distance traveled by the aerospace vehicle in meters.
 * @param time The time taken by the aerospace vehicle to cover the distance in seconds.
 * @return The average speed of the aerospace vehicle in meters per second.
 */
fun calculateAverageSpeed(distance: Float, time: Float): Float {

    val speed = distance / time
    return speed
}