def VirtualTemp(T, Q):
    """Computes Virtual Temperature (Tv)

    Inputs:
        T: temperature (K)
        Q: water vapor mass mixing Ratio (kg/kg)

    Returns:
        Tv: Virtual temperature (K)
    """
    return T * (1.0 + 0.6 * Q)