The error function is defined as
(a) Suppose the composite trapezoidal rule is used to evaluate erf(2). According to Theorem 6.2, what value for is needed so that the error is no more than 10−6.
(b) Using MATLAB and the composite trapezoidal rule, find a value of so the computed error is approximately 10−6, and explain the difference between this value and the one found in part (a). Also, note that erf(2) = 0.995322265 ···
(c) Redo part (a) but use the composite Simpson rule. Note that it will help if you plot””().
(d) Redo part (b) but use the composite Simpson rule (and compare with the answer from part (c)).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here