COMPUTES THE INTEGRAL BETWEEN TWO X-VALUES

Computes the definite integral of a curve between two specified x-values using numerical integration. Use this worker whenever you need the area under a curve over a bounded interval.

When to use

Classification: process.

Tagged: area_under_curve, curve_transform, definite_integral, integral, interval, numerical_integration.

Inputs

Label ID Type Default Required Description
Curve curve vector   The input curve (x-y vector pairs) whose definite integral is to be computed; must span at least the [xs, xe] interval.
X-Start xs scalar   Start x-value of the integration interval (same units as the curve’s x-axis); defaults to the curve’s minimum x if left blank.
X-End xe scalar   End x-value of the integration interval (same units as the curve’s x-axis); defaults to the curve’s maximum x if left blank.

Outputs

Label ID Type Description
integral_between integral_between scalar Scalar result of the definite integral of the curve from xs to xe (units are the product of the curve’s x- and y-axis units).

Disciplines

  • data.curve.transform
  • data.signal_processing

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_integral_between


Auto-generated from transformation schema. Worker id: curve_integral_between. Schema hash: ca561da3d625. Hand-curated docs in workerexamples/ override this page when present.