home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
educ
/
math
/
030
/
cardioid.eka
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1991-06-30
|
257 b
|
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