Cross Command

From GeoGebra Manual
Revision as of 10:34, 17 March 2016 by Zbynek (talk | contribs) (removing newline)
Jump to: navigation, search


Cross[ <Vector u> , <Vector v> ]
Calculates the cross product of u and v. Instead of vectors you can also use lists.
Example:
Cross[(1, 3, 2), (0, 3, -2)] yields (-12, 2, 3), Cross[{1, 3, 2}, {0, 3, -2}] yields {-12, 2, 3}
For 2D vectors or points the result is the z-coordinate of the actual cross product.
Example: Cross[(1,2),(4,5)] yields -3.
Note Hint: If a vector in the Menu view cas.svg CAS View contains undefined variables, the command yields a formula for the cross product, e.g. Cross[(a, b, c), (d, e, f)] yields (b f - c e, -a f + c d, a e - b d).
Notes:
© 2024 International GeoGebra Institute