CompAero/ObliqueShockRelations.py
def calc_beta_from_mach_mach_normal_ahead_shock(mach: float, machNormal1: float) -> float:
        """ Calculates the Oblique shock angle from the normal component of the mach number that is ahead of the shock wave

        Args:
            mach (float): Mach number of the flow ahead of the shock wave
            machNormal1 (float): Normal Component of mach number of the flow that is ahead of the oblique shock wave

        Returns:
            float: Oblique Shock Angle
        """
        return asin(machNormal1 / mach)
 Calculates the Oblique shock angle from the normal component of the mach number that is ahead of the shock wave

        Args:
            mach (float): Mach number of the flow ahead of the shock wave
            machNormal1 (float): Normal Component of mach number of the flow that is ahead of the oblique shock wave

        Returns:
            float: Oblique Shock Angle
        
Calculates the Oblique shock angle from the normal component of the mach number that is ahead of the shock wave
Calculates the Oblique shock angle from the normal component of the mach number that is ahead of the shock wave
def calc_beta_from_mach_mach_normal_ahead_shock(mach: float, machNormal1: float) -> float:
        return asin(machNormal1 / mach)
def calc_beta_from_mach_mach_normal_ahead_shock ( mach : float , machNormal1 : float ) -> float : return asin ( machNormal1 / mach )
Calculates the Oblique shock angle from the normal component of the mach number that is ahead of the shock wave
Calculates the Oblique shock angle from the normal component of the mach number that is ahead of the shock wave
""" Calculates the Oblique shock angle from the normal component of the mach number that is ahead of the shock wave

        Args:
            mach (float): Mach number of the flow ahead of the shock wave
            machNormal1 (float): Normal Component of mach number of the flow that is ahead of the oblique shock wave

        Returns:
            float: Oblique Shock Angle
        """
Oblique Shock Angle
Oblique Shock Angle
float
mach
float
Mach number of the flow ahead of the shock wave
Mach number of the flow ahead of the shock wave
machNormal1
float
Normal Component of mach number of the flow that is ahead of the oblique shock wave
Normal Component of mach number of the flow that is ahead of the oblique shock wave