2-8-40

Using the Action Menu

uangle

Function: Returns the angle formed by two vectors.

Syntax: angle (Mat-1, Mat-2 [ ) ]

• This command can be used with a 1 N or N 1 matrix only.

Example: To determine the angle formed by vectors [1, 2] and [3, 4] (in the Radian mode)

Menu Item: [Action][Vector][angle]

unorm

Function: Returns the norm of a vector.

Syntax: norm (Mat [ ) ]

Example: To obtain the norm of the vector [1, 2, 3]

Menu Item: [Action][Vector][norm]

ucrossP

Function: Returns the cross product of two vectors.

Syntax: crossP (Mat-1, Mat-2 [ ) ]

This command can be used with a 1 N or N 1 matrix only (N = 2, 3).

A two-element matrix [a, b] or [[a], [b]] is automatically converted into a three-element matrix [a, b, 0] or [[a], [b], [0]].

Example: To obtain the cross product of the two vectors [1, 3, 5] and [2, 4, 6]

Menu Item: [Action][Vector][crossP]

udotP

Function: Returns the dot product of two vectors.

Syntax: dotP (Mat-1, Mat-2 [ ) ]

• This command can be used with a 1 N or N 1 matrix only.

Example: To obtain the dot product of the two vectors [1, 3, 5] and [2, 4, 6]

Menu Item: [Action][Vector][dotP]

20060301