Simple operations with vectors, Changing sign, Addition, subtraction – HP 48gII User Manual

Page 284

Advertising
background image

Page 9-9

Note: This approach for changing the value of an array element is not
allowed in ALG mode, if you try to store 4.5 into A(3) in this mode you get
the following error message: Invalid Syntax.


To find the length of a vector you can use the function SIZE, available through
the command catalog (N) or through the PRG/LIST/ELEMENTS sub-menu.
Some examples, based on the arrays or vectors stored previously, are shown
below:

Simple operations with vectors

To illustrate operations with vectors we will use the vectors A, u2, u3, v2, and
v3, stored in an earlier exercise.

Changing sign

To change the sign of a vector use the key

\, e.g.,

Addition, subtraction

Addition and subtraction of vectors require that the two vector operands have
the same length:

Advertising
This manual is related to the following products: