IntegrateXY

Description

This function is used to integrate area under curve specified by vectors vx and vy. Missing values will be ignored.

Syntax

vector IntegrateXY(vector vx, vector vy)

Parameters

vx

The x coordinates of the curve for performing integration.

vy

The y coordinates of the curve for performing integration.

Return

Return the cumulative areas as dataset from the integration

Example

newbook;
col(a)={0:0.1:10};
col(b)=sqrt(10*col(a)-col(a)^2);
col(c)=IntegrateXY(col(a), col(b));
col(c)[C]$ = "Area";

See Also

Exp_integral, Elliptic_integral_rc, Elliptic_integral_rd, Elliptic_integral_rf, Elliptic_integral_rj, Cos_integral, Integral, Integrate(vd)