Integral

Navigation:  Language Reference > Functions > Arithmetic >

Integral

Previous pageReturn to chapter overviewNext page

Syntax

y = int(x,init);

Description

Returns the integral of x with respect to the time. The initial value of y is equal to the value of init. This initial value is optional. If no value is entered, a default initial value of 0 is used.

Examples

y = int(x,0);

z = int( sin(time*w + p) - cos(time*x + z) , b);