arclength, a Python code which estimates the arclength of curves of the form (x,f(x)) or (x(t),y(t)).
We suppose a curve has been drawn, and the length of a segment of that curve is to be estimated. Several cases arise:
The user supplies the limits of the parameter, the function that evaluates the necessary derivatives, and a number n that indicates how the parameter interval x1 ≤ x ≤ x2 or t1 ≤ t ≤ t2 is to be subdivided.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
arclength is available in a MATLAB version and an Octave version and a Python version.