HP Forums
(15C) Coordinates on an Ellipse - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (15C) Coordinates on an Ellipse (/thread-5500.html)



(15C) Coordinates on an Ellipse - Eddie W. Shore - 01-10-2016 10:22 PM

Link: http://edspi31415.blogspot.com/2016/01/hp-15c-coordinates-on-ellipse.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 semi-axis
R2 = b, length of vertical semi-axis

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