Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Help with a numerical Simpsons Rule

  1. Mar 7, 2005 #1
    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. jcsd
  3. Mar 7, 2005 #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.
     
  4. Mar 7, 2005 #3
    that doesnt seem to work
     
  5. Mar 8, 2005 #4
    Well, show me what you did please. That's Simpson's Rule, so I don't know what went wrong.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook