/**
 * Function to calculate the complex conjugate of a given complex number.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return The complex conjugate of the given complex number.
 */
fun calculateComplexConjugate(real: Double, imaginary: Double): Double {

    val complexConjugate = real - imaginary  // Subtracting the imaginary part from the real part
    return complexConjugate
}
/**
 * Function to calculate the complex conjugate of a given complex number.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return The complex conjugate of the given complex number.
 */
fun calculateComplexConjugate(real: Double, imaginary: Double): Double {
/**
 * Function to calculate the complex conjugate of a given complex number.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return The complex conjugate of the given complex number.
 */
fun calculateComplexConjugate(real: Double, imaginary: Double): Double {

    val complexConjugate = real - imaginary  // Subtracting the imaginary part from the real part
    return complexConjugate
}