-
Notifications
You must be signed in to change notification settings - Fork 0
Vector Operations
Source: HP-45 Applications Book (HP 00045-90320 Rev. B Reorder 00045-66001, Dec 1974)
Source: HP 35s User's Guide HP part number F2215AA-90001
Note:
The HP 35s cannot handle vectors with more than 3 dimensions.
Suppose vector Vk (in 2-dimensional space) has magnitude mk and direction θk (k = 1,2, …, n). Find the sum
Example:
mk | θk |
---|---|
2 | 30° |
6.2 | -45° |
7.6 | 125° |
10.7 | 232° |
Answer:
V = -4.83i⃗ - 5.59j⃗
LINE | DATA | OPERATIONS | DISPLAY | REMARKS |
---|---|---|---|---|
1 |
![]() DISPLAY ![]() 9'xiy
|
Display Mode x+𝒾y | ||
2 | mk |
![]() ![]() |
Perform 2-3 for k=1,2,…,n | |
3 | θk | + |
Vk | displayed as x+𝒾y |
Suppose
y⃗ = (y1, y2, y3)
then the angle between these two vecors is
Example:
Find the angle between
y⃗ = (3.15, 2.22, -0.3)
Answer:
θ= 84.28 degrees = 1.47 radians = 93.64 grads.
LINE | DATA | OPERATIONS | DISPLAY | REMARKS |
---|---|---|---|---|
1 | x | ENTER |
||
2 | y |
ENTER ENTER 1 × R↓
|
Copy y and x into Z and T | |
3 | × |
xy | Dot product of x⃗ and y⃗ | |
4 |
x<>y ![]() ABS
|
Mag | Absolute value of x⃗ | |
5 |
÷ x<>y ![]() ABS
|
Mag | Absolute value of y⃗ | |
6 |
÷ ![]() ACOS
|
Ang | Angle θ |
; XEQ \Gh ENTER
LBL G
ABS
CLx
eqn 'ACOS(LASTx*REGY/ABS(LASTx)/ABS(REGY))'
RTN
Formula:
If x⃗ = (x1, x2, x3) and y⃗ = (y1, y2, y3) are two vectors, then cross product z⃗ is also a vector.
z⃗ = x⃗ ⨯ y⃗
= (x2y3 - x3y2,
x3y1 - x1y3,
xay2 - x2y1)
= (z1, z2, z3)
Example:
If
y⃗ = (0.072, 0.231, 0.409)
Find x⃗ ⨯ y⃗
Answer:
x⃗ ⨯ y⃗ = (0.40, -0.42, 0.17)
LINE | DATA | OPERATIONS | DISPLAY | REMARKS |
---|---|---|---|---|
1 | x2 |
![]() STO B
|
||
2 | y3 |
![]() STO Y ×
|
||
3 | x3 |
![]() STO X
|
||
4 | y2 |
![]() STO D × -
|
z1 | |
5 | y1 |
![]() STO C RCL ×
|
||
6 | X |
|||
7 | x1 |
![]() STO A RCL ×
|
||
8 |
Y -
|
z2 | ||
9 |
RCL A RCL × D
|
|||
10 |
RCL B RCL × C
|
|||
11 | - |
z3 |
; XEQ 1 ENTER
LBL X
ABS
CLx
eqn 'LASTx*[1,0,0]\|>C'
CLx
eqn 'LASTx*[0,1,0]\|>D'
CLx
eqn 'LASTx*[0,0,1]\|>Y'
CLx
eqn 'REGY*[1,0,0]\|>A'
CLx
eqn 'REGY*[0,1,0]\|>B'
CLx
eqn 'REGY*[0,0,1]\|>X'
CLx
eqn '[B*Y-X*D,X*C-A*Y,A*D-B*C]'
RTN
Note:
The HP 35s cannot handle vectors with more than 3 dimensions.
Formulas:
Given two vectors x⃗ , y⃗ an n-dimensional vector space
y⃗ = (y1, y2, …, yn)
the dot product is
Example:
If
y⃗ = (0.072, 0.231, 0.409, 0.703, 0.891)
then x⃗ · y⃗ = 20.97
LINE | DATA | OPERATIONS | DISPLAY | REMARKS |
---|---|---|---|---|
1 |
![]() CLEAR 4'Σ
|
|||
2 | yi | ENTER |
Perform 2-3 for i=1,2,…,n | |
3 | xi | Σ+ |
i | |
4 |
![]() SUMS 6'Σxy
|
- HP-35s Startpage
- Assembler
- Emulator
- Applications Book (en|de)
- Introduction
- Machine Related Operations
- Number Theory and Algebra
- Geometry and Trigonometry
- Miscellany
- Appendix