From 1b887d75ab16a990c7b8857b76f11c5e6b45d56e Mon Sep 17 00:00:00 2001 From: "M.Scholz" Date: Sun, 6 May 2012 15:11:17 +0200 Subject: [PATCH] uebung 2 --- ss2012/AlgoAnim/Teil 2/aufgabe2_2.asu | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/ss2012/AlgoAnim/Teil 2/aufgabe2_2.asu b/ss2012/AlgoAnim/Teil 2/aufgabe2_2.asu index b1444561..0777b794 100644 --- a/ss2012/AlgoAnim/Teil 2/aufgabe2_2.asu +++ b/ss2012/AlgoAnim/Teil 2/aufgabe2_2.asu @@ -207,10 +207,20 @@ text "header" "Russische Bauernmultiplikation" at (20, 30) font SansSerif size 2 text "straight" "Erklärung:" at (20, 85) font SansSerif size 18 bold \br text "straight" "Die Idee des Verfahrens kann man mit Hilfe des Dualsystems verdeutlichen." at (20, 115) font SansSerif size 18 text "straight" "Hierbei wird eine Zahl in ihre Zweierpotenzen zerlegt." at (20, 140) font SansSerif size 18 -text "straight" "82 * 27 \t = 82 * (2^0 + 2^1 + 0 * 2^2 + 2^3 + 2^4)" at (43, 168) font SansSerif size 18 -text "straight" "\t \t \t \t \t \t \t \t \t = 82 * 2^0 + 82 * 2^1 + 82 * 0 + 82 * 2^3 + 82 * 2^4" at (20, 193) font SansSerif size 18 -text "straight" "\t \t \t \t \t \t \t \t \t = 82 + 164 + 0 + 656 + 1312" at (20, 218) font SansSerif size 18 -text "straight" "\t \t \t \t \t \t \t \t \t = 2214" at (20, 243) font SansSerif size 18 bold +text "straight" "0" at (204, 153) font SansSerif size 10 +text "straight" "1" at (242, 162) font SansSerif size 10 +text "straight" "2" at (312, 162) font SansSerif size 10 +text "straight" "3" at (350, 162) font SansSerif size 10 +text "straight" "4" at (385, 162) font SansSerif size 10 +text "straight" "82 * 27 \t = 82 * (2 + 2 + 0 * 2 + 2 + 2 )" at (43, 172) font SansSerif size 18 +text "straight" "0" at (200, 180) font SansSerif size 10 +text "straight" "1" at (282, 189) font SansSerif size 10 + +text "straight" "3" at (441, 189) font SansSerif size 10 +text "straight" "4" at (520, 189) font SansSerif size 10 +text "straight" "\t \t \t \t \t \t \t \t \t = 82 * 2 + 82 * 2 + 82 * 0 + 82 * 2 + 82 * 2" at (20, 200) font SansSerif size 18 +text "straight" "\t \t \t \t \t \t \t \t \t = 82 + 164 + 0 + 656 + 1312" at (20, 221) font SansSerif size 18 +text "straight" "\t \t \t \t \t \t \t \t \t = 2214" at (20, 246) font SansSerif size 18 bold }