15–34
Mathematics Programs
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Program Listing:
Program Lines:
(In RPN mode)
Description
This routine defines the new coordinate system.
Prompts for and stores
M
, the new origin's
x
–coordinate.
Prompts for and stores
N
, the new origin's
y
–coordinate.
Prompts for and stores
T
, the angle
θ
.
Loops for review of inputs.
Checksum and length: 1EDA 15
This routine converts from the old system to the new
system.
Prompts for and stores
X
, the old
x
–coordinate.
Prompts for and stores
Y
, the old
y
–coordinate.
Pushes
Y
up and recalls
X
to the
X
–register.
Pushes
X
and
Y
up and recalls
N
to the
X
–register.
Pushes
N, X
, and
Y
up and recalls
M
.
Calculates (
X
–
M
) and (
Y
–
N
).
Pushes (
X
–
M
)
and (
Y
–
N
) up and recalls
T.
Changes the sign of T because sin(–
T
) equals –sin(
T
).
Sets radius to 1 for computation of cos(
T
) and –sin(
T
).
θ
Calculates cos (T) and –sin(T) in
X
– and
Y
–registers.
Calculates (
X
–
M
) cos (
T) + (Y–N)
sin (
T
) and (
Y
–
N
) cos
(
T
) – (
X
–
M
) sin(
T
).
Stores
x
–coordinate in variable
U.
Swaps positions of the coordinates.
Stores
y
–coordinate in variable
V
.
Swaps positions of coordinates back.
Halts program to display
U
.
Halts program to display
V
.
Goes back for another calculation.
Checksum and length: 921A 69
This routine converts from the new system to the old
system.
Prompts for and stores
U
.
Содержание 33S
Страница 1: ... HP 33s scientific calculator user s manual H HP Part number F2216A 90020 Printed in China Edition 2 ...
Страница 14: ......
Страница 15: ...Part 1 Basic Operation ...
Страница 16: ......
Страница 56: ......
Страница 64: ......
Страница 82: ......
Страница 92: ......
Страница 122: ......
Страница 137: ...Operations with Complex Numbers 9 7 c Ù Adds L1 L2 L3 Converts vector back to polar form displays r θ ...
Страница 138: ......
Страница 157: ...Part 2 Programming ...
Страница 158: ......
Страница 184: ......
Страница 210: ......
Страница 222: ......
Страница 255: ...Mathematics Programs 15 33 y y x x m n New coordinate system Old coordinate system 0 0 x P u y v θ ...
Страница 293: ...Part 3 Appendixes and Reference ...
Страница 294: ......
Страница 324: ......
Страница 348: ......