189
PROGRAM SHEET
Program for
Rotating a Figure
Description
Formula for coordinate transforma-
tion:
(
x
,
y
)
→
(
x'
,
y'
)
x'
=
x
cos
θ
–
y
sin
θ
y'
=
x
sin
θ
+
y
cos
θ
Graphing of rotation of any geometric figure by
θ
degrees.
Example
To rotate by 30
°
the triangle defined by points A (2, 0.5), B (6, 0.5), and C (5, 1.5)
Notes
• Use the cursor keys to move the pointer around the display.
• To interrupt program execution, press
A
while the graphic screen is on the display.
• The triangle cannot be drawn if the result of the coordinate transformation operation exceeds
View Window parameters.
Preparation and operation
• Store the program written on the next page.
• Execute the program as shown below.
No.
5
Memory
Contents
A
B
C
D
E
F
G
x
1
y
1
x
2
y
2
x
3
y
3
x'
1
y'
1
x'
2
y'
2
x'
3
y'
3
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
0
X
Y
B(
x
2,
y
2
)
A(
x
1,
y
1
)
C(
x
3,
y
3
)
Summary of Contents for fx-7400G PLUS
Page 7: ... fx 7400G PLUS ...
Page 14: ...xii Contents ...
Page 57: ...Differential Calculations Chapter 3 ...
Page 176: ...162 Chapter 8 Programming ...
Page 188: ...Chapter 9 Data Communications 174 ...
Page 199: ...185 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 200: ...186 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 201: ...187 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 202: ...188 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 205: ...191 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...