integral

Format:
int*egral( scan_id [,int_expr start_index [, int_expr stop_index]])
Result:
Number
Description:
Returns the integral of a SCAN in the specified range. If there are no range indices, the entire SCAN is integrated.

The integral is calculated using this formula:

\begin{displaymath}
\sum_i{0.5(y_i + y_{i-1})(x_i - x_{i-1})}
\end{displaymath}

Note that the integral function of a SCAN is created by stamm().
e.g.:
SPECTRA> * = integral(bpu1)
7085.2509