32
22 Rotation
The following matrix rotates a point , in the plane,
through an angle of in the anti-clockwise direction.
Program
?→ X:?→ Y:?→ A:X → C:Y → D:Ccos A - Dsin A → X:Csin
A + Dcos A → Y:X Y < 43 STEP >
INPUT X, Y : point befor rotation A : rotation angle
OUTPUT X,Y : point after rotation
Execution Example:
Find the location of the point (1,0) after rotation through an angle of .
To obtain the answer in radians, press before
executing the program.
x y,
)
θ
θ
(x’, y’)
(x, y)
x′
y′
θ
cos
θ
sin
θ
sin–
θ
cos
x
y
=
ON
MODE MODE MODE
1
PRGM
MODE
1
COMP
1
P1
x y,
)
θ
x y,
)
π
3
---
MODE MODE
MODE MODE
2
Rad
S A
D R
P2 P3 P4
G
Prog
1
1
EXE
0
EXE
S A
D R
P1
P2 P3 P4
G
SHIHT
EXP
π
3
EXE
Disp
S A
D R
P1
P2 P3 P4
G
EXE
S A
D R
P1
P2 P3 P4
G
8 8 8 8 8 8
MODE MODE MODE MODE
2
関数電卓事例集 .book 32 ページ 2002年9月2日 月曜日 午後6時51分