01102016, 10:22 PM
Link: http://edspi31415.blogspot.com/2016/01/h...lipse.html
Store the following values before running:
R0 = number of points. θ always starts at 0° to 360° in equal increments.
R1 = a, length of horizontal semiaxis
R2 = b, length of vertical semiaxis
R3 is used as a counter.
The center is assumed to be (0,0).
Program:
Store the following values before running:
R0 = number of points. θ always starts at 0° to 360° in equal increments.
R1 = a, length of horizontal semiaxis
R2 = b, length of vertical semiaxis
R3 is used as a counter.
The center is assumed to be (0,0).
Program:
Code:
LBL B
DEG (Degrees mode)
RCL 0
1

3
10^X
÷
STO 3
3
6
0
RCL÷ 0
STO 4
LBL 2
RCL 3
INT
R/S
RCL* 4
ENTER
COS
RCL* 1
R/S
X<>Y
SIN
RCL* 2
R/S
ISG 3
GTO 2
RTN