Difference between revisions of "Dot Command"
From GeoGebra Manual
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>}} | + | :{{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> | {{note| 1=<div> | ||
See also [[Cross Command]]. | See also [[Cross Command]]. | ||
</div>}} | </div>}} |
Revision as of 10:31, 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.