import math


def shear_angle_to_shear_factor(angle_in_degrees):
    """
    Converts a shearing angle into a shearing factor

    Parameters
    ----------
    angle_in_degrees: float

    Returns
    -------
    float
    """
    return 1.0 / math.tan((90 - angle_in_degrees) * math.pi / 180)