curvelength

Length of a segmented path along a curve.

Syntax

curvelength(indep_vec, dep_vec)

Argument

indep_vec
The independent vector.
dep_vec
The dependent vector.

Example

Templex Expression Result
{curvelength(0:(2*PI):(PI/24), sin(0:(2*PI):(PI/24)))} 7.63869

Comments

The length of the curve is an approximation derived from the sum of the lengths of successive line segments whose begin- and endpoints are on the curve. The shorter the lengths of the individual line segments, the more accurate the approximation.