# Entering Vectors - HP 50g User Manual

Graphing calculator.

where
is the angle between the two vectors. The cross product produces a
vector A B whose magnitude is |A B| = |A||B|sin( ), and its direction is
given by the so-called right-hand rule (consult a textbook on Math, Physics, or
Mechanics to see this operation illustrated graphically). In terms of Cartesian
components, A B = A
A
B
]. The angle between two vectors can be found from the definition of the
y
x
dot product as cos( ) = A B/|A||B|= e
are perpendicular ( = 90

## Entering vectors

In the calculator, vectors are represented by a sequence of numbers enclosed
between brackets, and typically entered as row vectors. The brackets are
generated in the calculator by the keystroke combination „Ô , associated
with the * key. The following are examples of vectors in the calculator:
[3.5, 2.2, -1.3, 5.6, 2.3]
[1.5,-2.2]
[3,-1,2]
['t','t^2','SIN(t)']
Typing vectors in the stack
With the calculator in ALG mode, a vector is typed into the stack by opening a
set of brackets („Ô) and typing the components or elements of the vector
separated by commas (‚í). The screen shots below show the entering of
a numerical vector followed by an algebraic vector. The figure to the left shows
the algebraic vector before pressing „. The figure to the right shows the
calculator's screen after entering the algebraic vector:
In RPN mode, you can enter a vector in the stack by opening a set of brackets
and typing the vector components or elements separated by either commas
(‚í) or spaces (#). Notice that after pressing ` , in either mode,
the calculator shows the vector elements separated by spaces.
B
+A
B
+A
B
, and A B = [A
x
x
y
y
z
z
0
= /2
), A B = 0.
B
-A
y
z
e
. Thus, if two vectors A and B
A
B
A general row vector
A 2-D vector
A 3-D vector
A vector of algebraics
B
,A
B
-A
B
,A
z
y
z
x
x
z
Page 9-2
B
-
x
y