/**
 * Calculates the distance between two points on a number line.
 *
 * @param startPoint The starting point on the number line.
 * @param endPoint The ending point on the number line.
 * @return The absolute value of the difference between the two points.
 */
fun calculateDistance(startPoint: Double, endPoint: Double): Double {

    val distance = Math.abs(endPoint - startPoint)
    return distance
}
/**
 * Calculates the distance between two points on a number line.
 *
 * @param startPoint The starting point on the number line.
 * @param endPoint The ending point on the number line.
 * @return The absolute value of the difference between the two points.
 */
fun calculateDistance(startPoint: Double, endPoint: Double): Double {
/**
 * Calculates the distance between two points on a number line.
 *
 * @param startPoint The starting point on the number line.
 * @param endPoint The ending point on the number line.
 * @return The absolute value of the difference between the two points.
 */
fun calculateDistance(startPoint: Double, endPoint: Double): Double {

    val distance = Math.abs(endPoint - startPoint)
    return distance
}