1.2 INTERPOLATION
To interpolate the shape of a graph with given points, either a piece-wise constant/piece-wise linear
method can be used. However, this is not very accurate.
Drawing a polynomial graph is much more accurate. However, high degree polynomials, which give
more accuracy, produce more errors as well. Hence, we can draw several lower-order polynomials.
However, drawing
various polynomial graphs will be fine for integration/interpolation, but not for
differentiation since at the points connecting these graphs, the gradient is not valid (abrupt breaks)