>> xlist = [ 0, 7, 9 ]; >> ylist = [ 6, 1, 3 ]; >> p = triangle_perimeter ( xlist, ylist ) p = 20.9176