Debian Codegraph @

texmf-dist/doc/latex/lapdf/hippo.tex

raw
1 \input preamble.tex
2
3 \Defnum(\n,-1)
4
5 % ---------------------------------------------------------------------------
6 \begin{document}
7 \unitlength1.4cm
8
9 \begin{center}
10 {\Huge\bf{Hippopede Curves}}
11 \bigskip
12
13 \begin{lapdf}(12,14)(-6,-7)
14 \Polgrid(1,4)(6)
15 \def\Px(#1,#2){\Sin(#1,#2) \Dmul(#2,#2) #2=\n#2
16 \Dsub(#2,10) #2=-#2 \Sqrt(\Np#2,#2) #2=1.897#2}
17 \Whilenum{\n<10}{\Add(\n,1) \Stepcol(0,23,2) \Pplot(150)(0,2) \Stroke}
18 \end{lapdf}
19
20 $r(\phi)=6 \cdot \sqrt{1-c \cdot \sin^2\phi}$ with ($c=0,1 \dots 1,0$)
21 \end{center}
22 \end{document}