Simpson's rule and trapezoidal rule ?'s

  • Thread starter Thread starter ryingling5711
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around the application of Simpson's rule and the trapezoidal rule in numerical integration, focusing on when to use each method and the reasoning behind their respective formulations.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants explore the conditions under which to prefer Simpson's rule over the trapezoidal rule, discussing the smoothness of the curve and the nature of the function being approximated. Questions are raised about the alternating coefficients in Simpson's rule and the implications of error estimates for both methods.

Discussion Status

The conversation is ongoing, with participants sharing their thoughts and uncertainties regarding the effectiveness of each rule for different types of curves. Some guidance on the expected accuracy of Simpson's rule for certain functions has been mentioned, but no consensus has been reached.

Contextual Notes

Participants acknowledge that both methods can be applied to parabolic curves, leading to discussions about the nuances of their effectiveness in various scenarios.

ryingling5711
Messages
2
Reaction score
0
when do you use simpson's rule over trapezoidal rule?

why does simpsons rule alternate 4 and 2?
 
Physics news on Phys.org
ryingling5711 said:
when do you use simpson's rule over trapezoidal rule?

why does simpsons rule alternate 4 and 2?

I think, though I could be wrong, Simpson's rule is used when the curve you are approximating is smooth and "parabolicish." The trap rule, on the other hand, should be used then your curve is not so smooth or not so "parbolicish". Both have some sort of error estimate, right? I might go for the one with the lowest estimate.
 
I'm not really sure about that because i know you can use both for parabolic curves so but maybe your right that the trap rule is better for estimating integrals on less parabolic curves.
 
ryingling5711 said:
I'm not really sure about that because i know you can use both for parabolic curves so but maybe your right that the trap rule is better for estimating integrals on less parabolic curves.

Generally speaking you would expect better approximations for curvy functions with Simpson's rule. One surprising fact about Simpson's rule is that it is exact for cubics even though by design you might expect it would be exact only for second and lower degree polynomials.
 

Similar threads

Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K