Basic Quadrature Rules
The quadrature rules generally have the form
where the nodes and weights are generally pre-computed.
In the simplest case, Newton–Cotes formulas of even degree are used, where the nodes are evenly spaced in the interval:
- .
When such rules are used, the points at which has been evaluated can be re-used upon recursion:
A similar strategy is used with Clenshaw–Curtis quadrature, where the nodes are chosen as
Or, when Fejér quadrature is used,
- .
Other quadrature rules, such as Gaussian quadrature or Gauss-Kronrod quadrature, may also be used.
An algorithm may elect to use different quadrature methods on different subintervals, for example using a high-order method only where the integrand is smooth.
Read more about this topic: Adaptive Quadrature
Famous quotes containing the words basic and/or rules:
“When you realize how hard it is to know the truth about yourself, you understand that even the most exhaustive and well-meaning autobiography, determined to tell the truth, represents, at best, a guess. There have been times in my life when I felt incredibly happy. Life was full. I seemed productive. Then I thought,Am I really happy or am I merely masking a deep depression with frantic activity? If I dont know such basic things about myself, who does?”
—Phyllis Rose (b. 1942)
“... cooking is just like religion. Rules dont no more make a cook than sermons make a saint.”
—Anonymous, U.S. cook. As quoted in I Dream a World, by Leah Chase, who was quoted in turn by Brian Lanker (1989)