def calculate_delta(n_cols, sensitivity, epsilon):
    """
    Computing delta, which is a factor when applying differential privacy.

    Parameters
    ----------
    n_cols : int
        Number of attributes in dataset.
    sensitivity : float
        Sensitivity of removing one tuple.
    epsilon : float
        Parameter of differential privacy.
    """
    return (n_cols - 1) * sensitivity / epsilon
