def ductility(delta_current, delta_y):
    """
    Computes the ductility for a given displacement and yield.
    :param delta_current: current displacement
    :param delta_y: yield displacement
    :return:
    """
    return delta_current / delta_y