home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Press 1997 July
/
Sezamfile97_1.iso
/
msdos
/
misc
/
mrcry203.arj
/
CARDIOID.EKA
< prev
next >
Wrap
Text File
|
1991-02-02
|
257b
|
11 lines
; Graph of cardioid, a heart-shaped curve.
; Example of parametric plot
r(t) := 2 (COS(t) + 1) ; equation in polar coords
x(t) := r(t) COS(t) ; polar to rectangular conversion
y(t) := r(t) SIN(t)
PLOT y
XAXIS x
GBOUNDS 0, 2 PI