Example of Noise in Function Evaluation

Execute the m-file noise.m in MATLAB.
This script looks at a small segment of the curve f(x) = (x-1)^3 in the interval 0.99998<= x <=1.00002 for 100 evenly spaced points

We do this for the function f(x) written in two different ways