Previous Up Next

13.3.8  Length of an arc

The arcLen command finds the lengths of curves in the plane, which can either be given by an equation or a curve object.

Examples

Compute the length of the parabola y=x2 from x=0 to x=1:

arcLen(x^2,x,0,1)

or:

arcLen([t,t^2],t,0,1)
     
5
ln

5
−2

4
          

Compute the length of the curve y=cosh(x) from x=0 to x=ln(2):

arcLen(cosh(x),x,0,log(2))
     
3
4
          

Compute the length of the circle x=cos(t),y=sin(t) from t=0 to t=2π:

arcLen([cos(t),sin(t)],t,0,2*pi)
     
2 π           

Compute the length of the unit circle segment in the first quadrant:

arcLen(circle(0,1,0,pi/2))
     
1
2
 π
          

Compute the length of an arc:

arcLen(arc(0,1,pi/2))
     
1
4
 π  
2
          

Previous Up Next