Koshila D.
asked 07/27/15reasons for different answers when finding area using Simpsons rule and numerical integration
I have a function √(x2(x+40)) to be integrated from 0 upto -4. Using Simpson's will give me 19.02 but using normal numerical methods giving me -19.5 !! What's the reason behind this difference in signs.........??
Also the
More
1 Expert Answer
Jon P. answered 07/27/15
Tutor
5.0
(173)
Harvard honors degree in math, experienced geometry tutor
I've seen different formulation of Simpson's rule, so I can't be sure exactly which one you are using.
But... I suspect that the reason is that you are being confused by the fact that the integral interval is from 0 to -4, that is, in the negative direction. Since the function is always positive throughout the interval, the integral would normally be positive, but the fact that the range goes in the negative direction means that the result comes out negative.
In Simpson's rule you have to multiply a weighted average of function values at several points times a factor related to the size of the interval. You think of that factor as being related to the distance between the end points of the interval, and distance is generally thought of as a positive number. But it's not actually the distance between the end points -- it has to have a sign that is consistent with the negative direction of the interval, and in this case the direction is negative.
Again, if I saw your specific calculations I could be more specific in describing this, but take a look at that multiplier and see if you can tell what I mean.
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Koshila D.
Area is divided into 8 parts
07/27/15