/**
 * Calculates the distance between two points on a number line.
 *
 * @param startPosition The starting position on the number line.
 * @param endPosition The ending position on the number line.
 * @return The distance between the start and end positions.
 */
fun calculateDistance(startPosition: Double, endPosition: Double): Double {

    // Calculate the distance by subtracting the start position from the end position
    val distance = Math.abs(endPosition - startPosition)
    return distance
}
/**
 * Calculates the distance between two points on a number line.
 *
 * @param startPosition The starting position on the number line.
 * @param endPosition The ending position on the number line.
 * @return The distance between the start and end positions.
 */
fun calculateDistance(startPosition: Double, endPosition: Double): Double {
/**
 * Calculates the distance between two points on a number line.
 *
 * @param startPosition The starting position on the number line.
 * @param endPosition The ending position on the number line.
 * @return The distance between the start and end positions.
 */
fun calculateDistance(startPosition: Double, endPosition: Double): Double {

    // Calculate the distance by subtracting the start position from the end position
    val distance = Math.abs(endPosition - startPosition)
    return distance
}