def calculate_beta(
        r0: float,
        params: dict
    ) -> float:
    """
    Calculate beta from R0 and other parameters
    :param float r0: basic reproduction number
    :param dict params: dictionary of parameters
    :return float: calculated beta
    """

    return r0 * params["gamma"]