Catenary

Hi Vikram,

How would you manipulate this script so that you can feed it a list of p1’s, p2’s, and a’s and lace longest?