diff options
Diffstat (limited to 'buch/chapters/30-endlichekoerper/images')
-rw-r--r-- | buch/chapters/30-endlichekoerper/images/binomial2.pdf | bin | 19190 -> 19246 bytes | |||
-rw-r--r-- | buch/chapters/30-endlichekoerper/images/binomial2.tex | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/buch/chapters/30-endlichekoerper/images/binomial2.pdf b/buch/chapters/30-endlichekoerper/images/binomial2.pdf Binary files differindex f5aee4c..92be742 100644 --- a/buch/chapters/30-endlichekoerper/images/binomial2.pdf +++ b/buch/chapters/30-endlichekoerper/images/binomial2.pdf diff --git a/buch/chapters/30-endlichekoerper/images/binomial2.tex b/buch/chapters/30-endlichekoerper/images/binomial2.tex index 487ac18..77ccb57 100644 --- a/buch/chapters/30-endlichekoerper/images/binomial2.tex +++ b/buch/chapters/30-endlichekoerper/images/binomial2.tex @@ -20,11 +20,28 @@ \pgfmathparse{\s/2} \xdef\xs{\pgfmathresult} +% +% #1 = n +% #2 = k +% \def\dreieck#1#2{ \fill[color=black] ({\xs*(-#1+2*#2)},{-\ys*#1}) -- ({\xs*(-#1+2*#2-1)},{-\ys*(#1+1)}) -- ({\xs*(-#1+2*#2+1)},{-\ys*(#1+1)}) -- cycle; } +\def\zeile#1{ + \fill[color=red!40] + ({\xs*(-#1)},{-\ys*#1}) + -- ({\xs*(-#1-1)},{-\ys*(#1+1)}) + -- ({\xs*(#1+1)},{-\ys*(#1+1)}) + -- ({\xs*(#1)},{-\ys*#1}) -- cycle; +} + +\zeile{2} +\zeile{4} +\zeile{8} +\zeile{16} +\zeile{32} \dreieck{0}{0} |