student
trapezoid
numerical approximation to an integral
Calling Sequence
Parameters
Description
Examples
trapezoid(f(x), x=a..b)
trapezoid(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 trapezoids to use
Important: The student package has been deprecated. Use the superseding command Student[Calculus1][ApproximateInt] instead.
The function trapezoid computes a numerical approximation to an integral using the Trapezoidal rule. If symbolic arguments are given, an appropriate formula is generated.
Four equal-sized intervals are used by default.
The command with(student,trapezoid) allows the use of the abbreviated form of this command.
with⁡student:
trapezoid⁡xk⁢ln⁡x,x=1..3
∑i=13⁡1+i2k⁢ln⁡1+i22+3k⁢ln⁡34
trapezoid⁡sin⁡x⁢x+sin⁡x,x=1..3,12
sin⁡16+∑i=111⁡sin⁡1+i6⁢1+i6+sin⁡1+i66+sin⁡33
See Also
Student
student(deprecated)[leftbox]
student(deprecated)[leftsum]
student(deprecated)[middlesum]
student(deprecated)[rightbox]
student(deprecated)[rightsum]
student(deprecated)[simpson]
Student[Calculus1][ApproximateInt]
Download Help Document