HP (Hewlett-Packard) 32SII Calculator User Manual


 
15–2 Mathematics Programs
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
This program uses the following equations. Coordinate conversion:
X = R sin(P) cos(T) R =
222
ZYX
++
Y = R sin(P) sin(T) T = arctan (Y/X)
Z = R cos(P) P = arctan
22
YX
Z
+
Vector addition and subtraction:
v
1
+ v
2
= (X + U)i + (Y + V)j + (Z + W)k
v
2
– v
1
= (UX)i + (VY)j + (WZ)k
Cross product:
v
1
×
v
2
= (YWZV )i + (ZUXW)j + (XVYU)k
Dot Product:
D = XU + YV + ZW
Angle between vectors (
γ
):
G = arccos
2
1
RR
D
×
where
v
1
= X i + Y j + Z k
and
v
2
=U i + V j + W k
The vector displayed by the input routines (LBL P and LBL R) is V
1
.
Program Listing: