def displacementArea(simp_table,n):
    """
    Extracts the last (largest) diplacement area associated with simplification to n points

    Parameters
    ----------
    simp_table : list
        derived from the simplificationTable function.
    n : integer
        number of points in simplified line
    
    Returns
    -------
    disp_area : float
        the maximum displacement area associated with any single collapse event.

    """
    disp_areas=simp_table[2]
    orig_n = int(int(len(disp_areas)+3)/2)
    index_of_last_added_point = orig_n + (orig_n-n-1)
    
    return disp_areas[index_of_last_added_point]