Difference between revisions of "Dot Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geogebra}}
{{command|CAS}}
+
;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> yields ''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> 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

© 2024 International GeoGebra Institute