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

    Parameters
    ----------
    ebit : int or float
        Earnins before interest and taxes
    debt : int or float
        Short- and long-term debt
    equity : int or float
        Equity

    Returns
    -------
    out : int or float
        Return on total capital
    """
    return ebit / (debt - equity)