Approximation of curves by line segments

In the case when the function is quadratic, an interesting and simple result was obtained. It was found that in fitting N lines over some interval (a, b), that the points at which one line segment was discontinued and the next line segment started were equally spaced over the interval. This result allowed the equations for the