Casio CFX-9850GBPLUS

User Manual - Page 453

For CFX-9850GBPLUS.

PDF File Manual, 486 pages, Download pdf file

Loading ...
Loading ...
Loading ...
425
PROGRAM SHEET
No.
5
Program for
Rotating a Figure
Description
Formula for coordinate transfor-
mation:
(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 45° 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.
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
)
Memory Contents
Loading ...
Loading ...
Loading ...