Difference between revisions of "Dot Command"

From GeoGebra Manual
Jump to: navigation, search
(added missing description)
Line 3: Line 3:
 
;Dot[ <Vector>, <Vector> ]
 
;Dot[ <Vector>, <Vector> ]
 
:Returns the dot product (scalar product) of the two vectors.
 
:Returns the dot product (scalar product) of the two vectors.
 +
:{{example| 1=<div><code><nowiki>Dot[{1, 3, 2},{0, 3, -2}]</nowiki></code> gives ''5'', the scalar product of ''{1, 2, 3}'' and ''{0, 3, -2}''.</div>}}

Revision as of 10:03, 22 July 2011


This command works in CAS View only.

Dot[ <Vector>, <Vector> ]
Returns the dot product (scalar product) of the two vectors.
Example:
Dot[{1, 3, 2},{0, 3, -2}] gives 5, the scalar product of {1, 2, 3} and {0, 3, -2}.
© 2024 International GeoGebra Institute