Defining a function that takes another function as argument
HiI am trying to define a function that calculates the error of assuming linearity in a region of another function.My function must do the following:Accept 3 inputs, the nonlinear function (preferably just a function name defined elsewhere, f(x)), the center of the region (xi) and the half-width of the region being investigated (delta).Generate slope and intercept of the asymptote linear function ...
