/**
 * In aerospace engineering, it is important to check if the Mach number of a flow is below the critical Mach number.
 * This function takes a list of Mach numbers and a critical Mach number as arguments, and returns a list of boolean values
 * indicating if each Mach number is below the critical Mach number or not.
 *
 * @param machNumbers A list of Mach numbers (float values)
 * @param criticalMach The critical Mach number (float value)
 * @return A list of boolean values, where true indicates that the corresponding Mach number is below the critical Mach number,
 * and false indicates that it is equal to or above the critical Mach number.
 */
fun checkMachNumber(machNumbers: List<Float>, criticalMach: Float): List<Boolean> {

    val boolValues = mutableListOf<Boolean>()

    for (mach in machNumbers) {
        if (mach < criticalMach) {
            boolValues.add(true)
        } else {
            boolValues.add(false)
        }
    }

    return boolValues
}
/**
 * In aerospace engineering, it is important to check if the Mach number of a flow is below the critical Mach number.
 * This function takes a list of Mach numbers and a critical Mach number as arguments, and returns a list of boolean values
 * indicating if each Mach number is below the critical Mach number or not.
 *
 * @param machNumbers A list of Mach numbers (float values)
 * @param criticalMach The critical Mach number (float value)
 * @return A list of boolean values, where true indicates that the corresponding Mach number is below the critical Mach number,
 * and false indicates that it is equal to or above the critical Mach number.
 */
fun checkMachNumber(machNumbers: List<Float>, criticalMach: Float): List<Boolean> {
/**
 * In aerospace engineering, it is important to check if the Mach number of a flow is below the critical Mach number.
 * This function takes a list of Mach numbers and a critical Mach number as arguments, and returns a list of boolean values
 * indicating if each Mach number is below the critical Mach number or not.
 *
 * @param machNumbers A list of Mach numbers (float values)
 * @param criticalMach The critical Mach number (float value)
 * @return A list of boolean values, where true indicates that the corresponding Mach number is below the critical Mach number,
 * and false indicates that it is equal to or above the critical Mach number.
 */
fun checkMachNumber(machNumbers: List<Float>, criticalMach: Float): List<Boolean> {

    val boolValues = mutableListOf<Boolean>()

    for (mach in machNumbers) {
        if (mach < criticalMach) {
            boolValues.add(true)
        } else {
            boolValues.add(false)
        }
    }

    return boolValues
}