Page 9-11
Dot product
Function DOT is used to calculate the dot product of two vectors of the same
length. Some examples of application of function DOT, using the vectors A, u2,
u3, v2, and v3, stored earlier, are shown next in ALG mode. Attempts to
calculate the dot product of two vectors of different length produce an error
message:
Cross product
Function CROSS is used to calculate the cross product of two 2-D vectors, of two
3-D vectors, or of one 2-D and one 3-D vector. For the purpose of calculating a
cross product, a 2-D vector of the form [A
x
, A
y
], is treated as the 3-D vector [A
x
,
A
y
,0]. Examples in ALG mode are shown next for two 2-D and two 3-D vectors.
Notice that the cross product of two 2-D vectors will produce a vector in the z-
direction only, i.e., a vector of the form [0, 0, C
z
]:
Examples of cross products of one 3-D vector with one 2-D vector, or vice versa,
are presented next:
Attempts to calculate a cross product of vectors of length other than 2 or 3,
produce an error message (Invalid Dimension), e.g., CROSS(v3,A), etc.
Decomposing a vector
Function V
is used to decompose a vector into its elements or components. If
used in the ALG mode, V
will provide the elements of the vector in a list, e.g.,
Summary of Contents for 50G
Page 1: ...HP g graphing calculator user s guide H Edition 1 HP part number F2229AA 90006 ...
Page 130: ...Page 2 70 The CMDS CoMmanDS menu activated within the Equation Writer i e O L CMDS ...
Page 206: ...Page 5 29 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Page 257: ...Page 7 20 ...
Page 383: ...Page 11 56 Function KER Function MKISOM ...
Page 715: ...Page 21 68 Whereas using RPL there is no problem when loading this program in algebraic mode ...
Page 858: ...Page L 5 ...