GeoGebra

Length Command

Jump to: navigation, search

This command has three different meanings.

Length of vector

Returns length of the vector in standard (Euclidean) metric.

Syntax

Length[<Vector>]
Length<[Point]>

The later is a shorthand for Length[Vector[<Point>]] or equivalently Length[Vector[<Point>],(0,0)].

Examples Length[(1,1)] returns 1.41, since length of vector AB, where Failed to parse (Missing texvc executable; please see math/README to configure.): A=(0,0)

and Failed to parse (Missing texvc executable; please see math/README to configure.): B=(1,1)
is Failed to parse (Missing texvc executable; please see math/README to configure.): sqrt(1^2+1^2)=1.41

.

Length of function or curve

Returns length of a fu Returns number of elements in a list.

Syntax

Length[<Function>, <Start x-Value>, <End x-Value> ]
Length[<Function>, <Start Point>, <End Point> ]
Length[<Curve>, <Start x-Value>, <End x-Value> ]
Length[<Curve>, <Start Point>, <End Point> ]

Length of list

Returns number of elements of a list.

Syntax

Length[list]

Examples

Length[{}] returns 0, since {} is empty list Length[{{}}] returns 1, since {{}} is list containing one element {}