Simpson's rule with 6 intervals from x=16 to x=22

  • Thread starter Thread starter JasonJo
  • Start date Start date
  • Tags Tags
    Numerical
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 3K views
JasonJo
Messages
425
Reaction score
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
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.