/**
 * This function takes a real and imaginary number as input and returns the negation of the complex number.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return A Pair representing the negated complex number with real and imaginary parts respectively.
 *
 * Example:
 * negateComplexNumber(3, 4) returns Pair(-3, -4)
 */
fun negateComplexNumber(real: Double, imaginary: Double): Pair<Double, Double> {

    val negatedReal = -real
    val negatedImaginary = -imaginary

    return Pair(negatedReal, negatedImaginary)
}
/**
 * This function takes a real and imaginary number as input and returns the negation of the complex number.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return A Pair representing the negated complex number with real and imaginary parts respectively.
 *
 * Example:
 * negateComplexNumber(3, 4) returns Pair(-3, -4)
 */
fun negateComplexNumber(real: Double, imaginary: Double): Pair<Double, Double> {
/**
 * This function takes a real and imaginary number as input and returns the negation of the complex number.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return A Pair representing the negated complex number with real and imaginary parts respectively.
 *
 * Example:
 * negateComplexNumber(3, 4) returns Pair(-3, -4)
 */
fun negateComplexNumber(real: Double, imaginary: Double): Pair<Double, Double> {

    val negatedReal = -real
    val negatedImaginary = -imaginary

    return Pair(negatedReal, negatedImaginary)
}