Difference between revisions of "Length Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|cas=true|geometry}}
 
{{command|cas=true|geometry}}
 
;Length[ <Vector> ]
 
;Length[ <Vector> ]

Revision as of 21:16, 9 March 2013



Length[ <Vector> ]
Yields the length of the vector.
Length[ <Point A> ]
Yields the length of the position vector of the given point .
Length[ <Function>, <Number x1>, <Number x2> ]
Yields the length of the function graph in the interval [x1, x2].
Example:
Length[2x, 0, 1] returns 2.23606797749979, about \sqrt{5}.
Length[ <Function>, <Point A>, <Point B> ]
Yields the length of the function graph between the two points A and B.
Note: If the given points do not lie on the function graph, their x‐coordinates are used to determine the interval.
Length[ <Curve>, <Number t1>, <Number t2> ]
Yields the length of the curve between the parameter values t1 and t2.
Length[ <Curve c>,< Point A>, <Point B> ]
Yields the length of curve c between two points A and B that lie on the curve.
Length[ <List> ]
Yields the length of the list, which is the number of elements in the list.
Length[ <Text> ]
Yields the number of characters in the text.
Length[ <Locus> ]
Returns the number of points that the given locus is made up of. Use Perimeter[Locus] to get the length of the locus itself. For details see the article about First Command.
Note:
See also Tool Distance.gif Distance or Length tool.
Length[ <Arc> ]
Returns the arc length (i.e. just the length of the curved section) of an arc or sector.

CAS Syntax

Length[ <Function>, <Number t1>, <Number t2> ]
Calculates the length of a function graph from point x=t1 to point x=t2.
Example:
Length[2 x, 0, 1] yields \sqrt{5}.
Length[ <Function>, <Variable a>, <Number t1>, <Number t2> ]
Calculates the length of a function graph from point a=t1 to point a=t2.
Example:
Length[2 a, a, 0, 1] yields \sqrt{5}.
© 2024 International GeoGebra Institute