# Help with a numerical Simpsons Rule

1. Mar 7, 2005

### JasonJo

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

2. Mar 7, 2005

### Jameson

Simpsons rule is (if i remember correctly)...

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

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. Mar 7, 2005

### JasonJo

that doesnt seem to work

4. Mar 8, 2005

### Jameson

Well, show me what you did please. That's Simpson's Rule, so I don't know what went wrong.