Boole's Rule
|
Calling Sequence
|
|
ApproximateInt(f(x), x = a..b, method = boole, opts)
ApproximateInt(f(x), a..b, method = boole, opts)
ApproximateInt(Int(f(x), x = a..b), method = boole, opts)
|
|
Parameters
|
|
f(x)
|
-
|
algebraic expression in variable 'x'
|
x
|
-
|
name; specify the independent variable
|
a, b
|
-
|
algebraic expressions; specify the interval
|
opts
|
-
|
equation(s) of the form option=value where option is one of boxoptions, functionoptions, iterations, method, outline, output, partition, pointoptions, refinement, showarea, showfunction, showpoints, subpartition, view, or Student plot options; specify output options
|
|
|
|
|
Description
|
|
•
|
The ApproximateInt(f(x), x = a..b, method = boole, opts) command approximates the integral of f(x) from a to b by using Boole's rule. The first two arguments (function expression and range) can be replaced by a definite integral.
|
•
|
If the independent variable can be uniquely determined from the expression, the parameter x need not be included in the calling sequence.
|
•
|
In the case that the widths of the subintervals are equal, the approximation can be written as
|
![(1/8)*(b-a)*(f(x)+3*f((2/3)*x[0]+(1/3)*x[1])+3*f((1/3)*x[0]+(2/3)*x[1])+2*f(x[1])+3*f((2/3)*x[1]+(1/3)*x[2])+3*f((1/3)*x[1]+(2/3)*x[w])+2*f(x[2])+`...`+3*f((1/3)*x[N-1]+(2/3)*x[N])+f(x[N]))/N](/support/helpjp/helpview.aspx?si=4353/file04902/math159.png)
|
Traditionally, Boole's rule is written as: given N, where N is a positive multiple of 3, and given equally spaced points , an approximation to the integral is
|
![(3/8)*(b-a)*(f(x[0])+3*f(x[1])+3*f(x[2])+2*f(x[3])+3*f(x[4])+3*f(x[5])+2*f(x[6])+3*f(x[7])+`...`+3*f(x[N-1])+f(x[N]))/N](/support/helpjp/helpview.aspx?si=4353/file04902/math176.png)
•
|
By default, the interval is divided into equal-sized subintervals.
|
•
|
This rule is also sometimes known as Bode's Rule, due to a misattribution in the literature. The command will accept either or method=bode.
|
|
|
Examples
|
|
>
|
*(1/4), (x[0]+x[2])*(1/2), (x[0]+3*x[1])*(1/4), x[1]], [f(0), f(1/4), f(1/2), f(3/4), f(1)], z)](/support/helpjp/helpview.aspx?si=4353/file04902/math210.png)
|
>
|
|
>
|
|

| (1) |
>
|
|
>
|
|

| (2) |
>
|
|
>
|
|
>
|
|
|
|
See Also
|
|
int, Newton-Cotes Rules, Simpson's 3/8 Rule, Simpson's Rule, Student, Student plot options, Student[Calculus1], Student[Calculus1][ApproximateInt], Student[Calculus1][ApproximateIntTutor], Student[Calculus1][RiemannSum], Student[Calculus1][VisualizationOverview], Trapezoidal Rule
|
|