Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The error term in Simpson\'s rule is O(h), or more precisely, when (a, b] is spl

ID: 3117546 • Letter: T

Question

The error term in Simpson's rule is O(h), or more precisely, when (a, b] is split into n equal-sized subintervals and Simpson's rule is used for each subinterval, the accumulated error is bounded by: 180 la,b) where h=(b-a)/n. For the function f(x) = sin(x) and the integral fo,f(x)dx, what value of n will ensure that the 1. What value of n did you find? 2. It takes 3 function calls per subinterval for Simpson's rule. How many function calls are truncation error is no more than 10-12? (Use |f')| S 1.) needed by Simpson's for this n? 3. It takes 14 function calls to reach an error of size 10-12 for Julia's quadgk function. Which method uses fewer function calls? (Simpson's or quadgk)

Explanation / Answer

Here,

H=(b-a)

(b-a)/180

So,

Simpson rules

It show that square to variables

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote