You may calculate the length of a vector
v
using
length = sqrt(v * v)
www.geogebra.org