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: Simpson's Rule

  1. Aug 13, 2007 #1
    Does the Simpson's rule of numerical integration ([tex]\frac{1}{3}h\left( {f_0 + 4f_1 + f_2 } \right)[/tex]) give exact values for all polynomials to a third degree i.e., linear functions, quadratic functions, and cubic functions?

    Is there a better method for numerical integration approximation? One which a better, more accurate result?

    Many thanks

  2. jcsd
  3. Aug 13, 2007 #2


    User Avatar
    Science Advisor

    Simpson's method approximates the function by a "piecewise" quadratic. If a function is already quadratic,then that is exact. So it will give exact results for second degree, but not third degree polynomials.

    You certainly could develop a method that approximated the function by a "piecewise fourth degree polynomial but the extra work necessary would be more than just decreasing the step size in Simpson's rule. Simpson's rule is the most accurate of the regularly used methods.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook