/**
 * Given a complex number in polar representation,
 * calculate the distance from the origin using the formula:
 * distance = complexNumber.first
 *
 * @param complexNumber A Pair containing the magnitude and angle of the complex number in polar form.
 * @return The distance from the origin to the complex number.
 */
fun calculateDistanceFromOrigin(complexNumber: Pair<Double, Double>): Double {

    val distance = complexNumber.first
    return distance
}
/**
 * Given a complex number in polar representation,
 * calculate the distance from the origin using the formula:
 * distance = complexNumber.first
 *
 * @param complexNumber A Pair containing the magnitude and angle of the complex number in polar form.
 * @return The distance from the origin to the complex number.
 */
fun calculateDistanceFromOrigin(complexNumber: Pair<Double, Double>): Double {
/**
 * Given a complex number in polar representation,
 * calculate the distance from the origin using the formula:
 * distance = complexNumber.first
 *
 * @param complexNumber A Pair containing the magnitude and angle of the complex number in polar form.
 * @return The distance from the origin to the complex number.
 */
fun calculateDistanceFromOrigin(complexNumber: Pair<Double, Double>): Double {

    val distance = complexNumber.first
    return distance
}