Difference between revisions of "Cross Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{betamanual|version=4.2}} + )) |
|||
Line 4: | Line 4: | ||
:Calculates the [[w:Cross_product|cross product]] of ''u'' and ''v''. | :Calculates the [[w:Cross_product|cross product]] of ''u'' and ''v''. | ||
:{{example| 1=<div><code><nowiki>Cross[{1, 3, 2}, {0, 3, -2}]</nowiki></code> yields ''{-12, 2, 3}''.</div>}} | :{{example| 1=<div><code><nowiki>Cross[{1, 3, 2}, {0, 3, -2}]</nowiki></code> yields ''{-12, 2, 3}''.</div>}} | ||
− | {{note| 1= | + | :{{note| 1=In the [[Input Bar]] you can also use <code><nowiki>u ⊗ v</nowiki></code>.}} |
− | |||
− | |||
− | |||
==CAS Syntax== | ==CAS Syntax== | ||
;Cross[ <Vector u> , <Vector v> ] | ;Cross[ <Vector u> , <Vector v> ] |
Revision as of 09:34, 3 May 2013
- Cross[ <Vector u> , <Vector v> ]
- Calculates the cross product of u and v.
- Example:
Cross[{1, 3, 2}, {0, 3, -2}]
yields {-12, 2, 3}.
- Note: In the Input Bar you can also use
u ⊗ v
.
CAS Syntax
- Cross[ <Vector u> , <Vector v> ]
- Calculates the cross product of u and v.
- Example:
Cross[{1, 3, 2}, {0, 3, -2}]
yields {-12, 2, 3}.
- If a vector contains undefined variables, it yields a formula for the cross product.
- Example:
Cross[{a, b, c}, {d, e, f}]
yields {b f - c e, -a f + c d, a e - b d}.
Note:
See also Dot Command.