Problem applying Simpson's rule I = <msubsup> &#x222B;<!-- ∫ --> 0 2 </

Waldronjw 2022-07-03 Answered
Problem applying Simpson's rule
I = 0 2 1 x + 4 d x
with n = 4.
You can still ask an expert for help

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

Solve your problem for the price of one coffee

  • Available 24/7
  • Math expert for every subject
  • Pay only if we can solve it
Ask Question

Answers (1)

Rafael Dillon
Answered 2022-07-04 Author has 15 answers
The factor should be
( b a ) 3 n
with b a = 2 and n = 4 you get 1 / 6 and not 1 / 3. One half of 0.8 is 0.4 which is close to the exact value.
You can quickly check the correctness of the factor by using the constant function f = 1.
Did you like this example?
Subscribe for all access

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

You might be interested in

asked 2022-07-01
Given the following data on y = f ( x ),
x y 0 32 1 38 2 29 3 33 4 42 5 44 6 38
Calculate approximately 0 6 f ( x ) d x.
asked 2022-07-02
What difference Between Simpsons Rule and 3 / 8 rule?
asked 2022-06-01
What is the relation between Lagrange interpolation and Simpson's rule to integrate some function with some points x 0 , f ( x 0 ); ... x n , f ( x n ) ?
asked 2022-06-15
Calculate:
14 8 y d x
asked 2022-06-21
I've got two equal length vectors x , y representing the pairs ( x i , f ( x i ) ) and the components of the x array aren't equally spaced.
Is there some modified version of Simpson's Rule that fits my purposes ?
asked 2022-06-13
Prove: Let S ( n ) and T ( n ) be the approximations of a function using n intervals by using Simpson's rule and the Trapezoid rule respectfully.
S ( 2 n ) = 4 T ( 2 n ) T ( n ) 3
asked 2022-06-14
The error bound formulas for trapezoidal rule and simpson's rule say that:
Error Bound for the Trapezoid Rule: Suppose that  Error Bound for the Trapezoid Rule: Suppose that  | f ( x ) | k  for some  k R  where  a x b .  Then  | E T | k ( b a ) 3 12 n 2  Error Bound for Simpson's Rule: Suppose that  | f ( 4 ) ( x ) | k  for some  k R  where  a x b .  Then  | E S | k ( b a ) 5 180 n 4
Using these formulas, is it possible to find functions where Trapezoid Rule is more accurate than Simpson's rule?

New questions