Related Topics: | ||
Description: Integrates a function f(x) from the start time to the end time.
Syntax: integral(f(x), Start, End, Intervals)
f(x) is the function. It must be integrable over the region, otherwise an error is returned.
Start and End are the lower and upper limits.
Intervals specifies the number of intervals to use in the numerical integration routine.
Remarks:
f(x) must be a continuous function.
Start must be <= end.
All parameter values can include:
Numerical values
Standard operands (+, -, *, /)
Predefined mathematical functions (exp, log, sin, etc.)
References to any analysis workbooks
Example:
integral(x^2, 0, 4, 100)
Returns:
21.3333
© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.