student
simpson
numerical approximation to an integral
Calling Sequence
Parameters
Description
Examples
simpson(f(x), x=a..b)
simpson(f(x), x=a..b, n)
f(x)
-
algebraic expression in x
x
variable of integration
a
lower bound on the range of integration
b
upper bound on the range of integration
n
(optional) indicates the number of rectangles to use
Important: The student package has been deprecated. Use the superseding command Student[Calculus1][ApproximateInt] instead.
The function simpson approximates a definite integral using Simpson's rule. If the parameters are symbolic, then the formula is returned.
Four equal-sized intervals are used by default.
The command with(student,simpson) allows the use of the abbreviated form of this command.
with⁡student:
simpson⁡xk⁢ln⁡x,x=1..3
3k⁢ln⁡36+2⁢∑i=12⁡12+ik⁢ln⁡12+i3+∑i=11⁡1+ik⁢ln⁡1+i3
simpson⁡sin⁡x⁢x+sin⁡x,x=1..3,12
sin⁡19+2⁢sin⁡39+2⁢∑i=16⁡sin⁡56+i3⁢56+i3+sin⁡56+i39+∑i=15⁡sin⁡1+i3⁢1+i3+sin⁡1+i39
See Also
Student
student(deprecated)[leftbox]
student(deprecated)[leftsum]
student(deprecated)[middlesum]
student(deprecated)[rightbox]
student(deprecated)[rightsum]
student(deprecated)[trapezoid]
Student[Calculus1][ApproximateInt]
Download Help Document