Simple operations with vectors

To illustrate operations with vectors we will use the vectors u2, u3, v2, and v3, stored in an earlier exercise. Also, store vector A=[-1,-2,-3,-4,-5] to be used in the following exercises.

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:

Attempting to add or subtract vectors of different length produces an error message:

Page 8-5

Page 110
Image 110
HP 50g manual Simple operations with vectors, Addition, subtraction