Help with a numerical Simpsons Rule

  • Thread starter JasonJo
  • Start date
  • Tags
    Numerical
In summary, The conversation discusses the use of numerical Simpsons rule to estimate the value of an integral from 16 to 22 using a table with x and y values. The problem at hand is determining the number of subdivisions and evaluating the MID for Simpsons rule. The formula for Simpsons rule is also provided.
  • #1
JasonJo
429
2
I need help with this numerical simpsons rule problem

x y
16 -5
17 1
18 3
19 -3
20 -5
21 6
22 -8


Use the table to estimate the value of the integral y from the interval 16 to 22

the problem i am having is how many subdivision to make and how to evaluate the MID for Simpsons rule

thanks guys, you always give good help
 
Physics news on Phys.org
  • #2
Simpsons rule is (if i remember correctly)...

[tex] \frac{b-a}{3n} * [f(n_1) + 4f(n_2) + 2f(n_3) ... + f(n_{last}] [/tex]

Subdivisions: you are calculating from 16 to 22, so you have

16-17, 17-18, 18-19, 19-20, 20-21, and 21-22, therefore N = 6

---------------
I don't know what the MID is, but with N and the formula you should be able to use the rule accurately.
 
  • #3
that doesn't seem to work
 
  • #4
Well, show me what you did please. That's Simpson's Rule, so I don't know what went wrong.
 

FAQ: Help with a numerical Simpsons Rule

What is Simpsons Rule?

Simpsons Rule is a method used to approximate the value of a definite integral by dividing the area under a curve into a series of trapezoids.

How does Simpsons Rule work?

Simpsons Rule works by using a polynomial function to approximate the curve and then integrating the polynomial to find the area under the curve.

When is Simpsons Rule used?

Simpsons Rule is used when calculating the area under a curve is not possible or when the function is too complex to integrate using traditional methods.

What are the advantages of using Simpsons Rule?

Simpsons Rule typically provides more accurate results than other numerical integration methods, especially when the function being integrated is smooth or has a low degree polynomial.

How do I use Simpsons Rule to solve a numerical integration problem?

To use Simpsons Rule, you will need to divide the interval of integration into an even number of subintervals. Then, plug the values of each subinterval into the formula and calculate the sum. The final value will be an approximation of the definite integral.

Back
Top