def rotc(ebit, debt, equity):
    """Computes return on total capital.

    @params
    -------
    ebit: earnins before interest and taxes
    debt: short- and long-term debt
    equity: equity

    returns
    -------
    Return on total capital, int or float

    explanation
    -----------

    """
    return ebit / (debt - equity)
