This applet produces a least squares fit of a quadratic function to a set of data points which you generate by clicking the mouse at selected points in the drawing canvas. The reported time is milliseconds required to fit the data. The fitting of the first data set is large because some one-time links to external routines are being established.

Often, several vertices are identified. We will need some sort of "proximity" metric to sort out the relevant vertex.