Difference between revisions of "Dot Command"
From GeoGebra Manual
m |
(command syntax: changed [ ] into ( )) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude> | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geogebra}} |
− | {{command|geogebra}} | + | ;Dot( <Vector>, <Vector> ) |
− | |||
− | ;Dot | ||
: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 | + | :{{example| 1=<div><code><nowiki>Dot({1, 3, 2}, {0, 3, -2})</nowiki></code> yields ''5'', the scalar product of ''{1, 3, 2}'' and ''{0, 3, -2}''.</div>}} |
{{note| 1=<div> | {{note| 1=<div> | ||
See also [[Cross Command]]. | See also [[Cross Command]]. | ||
</div>}} | </div>}} |
Latest revision as of 12:48, 5 October 2017
- Dot( <Vector>, <Vector> )
- Returns the dot product (scalar product) of the two vectors.
- Example:
Dot({1, 3, 2}, {0, 3, -2})
yields 5, the scalar product of {1, 3, 2} and {0, 3, -2}.
Note:
See also Cross Command.