Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Simpson's Rule
Calling Sequence
ApproximateInt(f(x), x = a..b, method = simpson, opts)
ApproximateInt(f(x), a..b, method = simpson, opts)
ApproximateInt(Int(f(x), x = a..b), method = simpson, 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 = simpson, opts) command approximates the integral of f(x) from a to b by using Simpson'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.
Given a partition of the interval , Simpson's rule approximates the integral on each subinterval by integrating the quadratic function that interpolates the three points , , and . This value is
In the case that the widths of the subintervals are equal, the approximation can be written as
Traditionally, Simpson's rule is written as: given N where N is an even integer and given equally spaced points , an approximation to the integral is
By default, the interval is divided into equal-sized subintervals.
For the options opts, see the ApproximateInt help page.
This rule can be applied interactively, through the ApproximateInt Tutor.
Examples
See Also
Boole's Rule, Newton-Cotes Rules, plot/options, Simpson's 3/8 Rule, Student, Student plot options, Student[Calculus1], Student[Calculus1][ApproximateInt], Student[Calculus1][ApproximateIntTutor], Student[Calculus1][RiemannSum], Student[Calculus1][VisualizationOverview], Trapezoidal Rule
Download Help Document