Difference between revisions of "Dot Command"

From GeoGebra Manual
Jump to: navigation, search
Line 4: Line 4:
 
: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>}}
 
:{{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>}}
 +
{{note| 1=<div>
 +
See also [[Cross Command]].
 +
</div>}}

Revision as of 10:15, 5 August 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}.
Note:

See also Cross Command.

© 2024 International GeoGebra Institute