Student[LinearAlgebra] - Maple Programming Help

Home : Support : Online Help : Education : Student Package : Linear Algebra : Visualization : Student/LinearAlgebra/CrossProductPlot

Student[LinearAlgebra]

 CrossProductPlot
 plot the cross product of two vectors

 Calling Sequence CrossProductPlot(u, v, opts)

Parameters

 u - 3-D Vector v - 3-D Vector opts - plotting options or equation(s) of the form option=value where option is one of crossoptions, vectorcolors, vectoroptions, or Student[plot options]; specify options for the plot

Description

 • The CrossProductPlot(u,v) command displays two 3-D Vectors u and v and their cross product $u&xv$.
 • The opts argument can contain any of the Student plot options or any of the following equations that set plot options.
 crossoptions = list(algebraic)
 A list of options for the plot of the cross product u &x v. For more information on arrow plot options, see plot/arrow. [Default: solid arrow]
 vectorcolors = [color, color, color]
 A list of colors for u, v, and u &x v. For more information on plot color options, see plot/color. [Default: [red, blue, magenta]].
 vectoroptions = list(algebraic)
 A list of options for the plot of the two vectors u and v.  For more information on arrow plot options, see plot/arrow. [Default: solid arrow]
 caption = anything
 A caption for the plot.
 The default caption is constructed from the parameters and the command options. caption = "" disables the default caption. For more information about specifying a caption, see plot/typesetting.

Examples

The commands to create the plot from the Plotting Guide are

 > $\mathrm{with}\left(\mathrm{Student}[\mathrm{LinearAlgebra}]\right):$
 > ${\mathrm{infolevel}}_{\mathrm{Student}[\mathrm{LinearAlgebra}]}≔1:$
 > $u≔⟨2,-1,4⟩$
 ${u}{≔}\left[\begin{array}{r}{2}\\ {-}{1}\\ {4}\end{array}\right]$ (1)
 > $v≔⟨3,-2,1⟩$
 ${v}{≔}\left[\begin{array}{r}{3}\\ {-}{2}\\ {1}\end{array}\right]$ (2)
 > $u&xv$
 $\left[\begin{array}{r}{7}\\ {10}\\ {-}{1}\end{array}\right]$ (3)
 > $\mathrm{CrossProductPlot}\left(u,v\right)$
 <2, -1, 4> &x <3, -2, 1> =      <7, 10, -1> 