Example of a "abrupt function"

154 Views Asked by At

I need example of a simple function to show that cubic spline gives better result than Lagrange's interpolation in case of some special functions. Thank you