// // Authors: Martti E. Pesonen and Hanna Lehtola // Original base document by Timo Ehmke // Systemvariablen // =============== APPLET_WIDTH = 384 APPLET_HEIGHT = 288 WORLD_X_MAX = +16.0 WORLD_X_MIN = -16.0 WORLD_Y_MAX = +10.0 WORLD_Y_MIN = -14.0 // Figurenbeschreibung // =================== e[1] = a; point; fixed; -9.0,6.0; black;black;0;0;smallcircle e[2] = b; point; fixed; -9.0,3.0; black;black;0;0;smallcircle e[3] = c; point; fixed; -9.0,0.0; black;black;0;0;smallcircle e[4] = d; point; fixed; -9.0,-3.0; black;black;0;0;smallcircle e[5] = e; point; fixed; -9.0,-6.0; black;black;0;0;smallcircle e[6] = A; point; fixed; 6.0,6.0; black;black;0;0;smallcircle e[7] = B; point; fixed; 6.0,3.0; black;black;0;0;smallcircle e[8] = C; point; fixed; 6.0,0.0; black;black;0;0;smallcircle e[9] = D; point; fixed; 6.0,-3.0; black;black;0;0;smallcircle e[10] = E; point; fixed; 6.0,-6.0; black;black;0;0;smallcircle //e[11] = P1; point; dragable; -8.0,6.0; 0;red;black;black; e[11] = P2; point; dragable; -8.0,3.0; 0;red;black;black; e[12] = P3; point; dragable; -8.0,0.0; 0;red;black;black; e[13] = P4; point; dragable; -8.0,-3.0; 0;red;black;black; e[14] = P5; point; dragable; -8.0,-6.0; 0;red;black;black; e[15] = p1; point; fixed; -8.0,6.0; 0;0;0;0; //e[12] = p2; point; fixed; -8.0,3.0; 0;0;0;0; //e[13] = p3; point; fixed; -8.0,0.0; 0;0;0;0; //e[14] = p4; point; fixed; -8.0,-3.0; 0;0;0;0; //e[15] = p5; point; fixed; -8.0,-6.0; 0;0;0;0; e[16] = l1; line; connect; p1,B; 0;0;0;0; //e[17] = l2; line; connect; p2,C; 0;0;0;0; //e[18] = l3; line; connect; p3,E; 0;0;0;0; //e[19] = l4; line; connect; p4,A; 0;0;0;0; //e[20] = l5; line; connect; p5,D; 0;0;0;0; e[17] = an1; point; dragable; -8.0,6.0,l1; "hideLabel" e[18] = L1; line; connect; a,an1; 0;0;black;0; e[19] = L2; line; connect; b,P2; 0;0;black;0; e[20] = L3; line; connect; c,P3; 0;0;black;0; e[21] = L4; line; connect; d,P4; 0;0;black;0; e[22] = L5; line; connect; e,P5; 0;0;black;0; e[23] = X; point; fixed; -9.0,8.0; black;0;0;0; e[24] = Y; point; fixed; 6.0,8.0; black;0;0;0; e[25] = A1; point; fixed; 6.0,6.5; "hidden" e[26] = B1; point; fixed; 6.0,3.5; "hidden" e[27] = C1; point; fixed; 6.0,0.5; "hidden" e[28] = D1; point; fixed; 6.0,-3.5; "hidden" e[29] = E1; point; fixed; 6.0,-6.5; "hidden" e[30] = Y1; circle; radius; A,A1; 0;0;0;0; e[31] = Y2; circle; radius; B,B1; 0;0;0;0; e[32] = Y3; circle; radius; C,C1; 0;0;0;0; e[33] = Y4; circle; radius; D,D1; 0;0;0;0; e[34] = Y5; circle; radius; E,E1; 0;0;0;0; e[35] = m1; measure; button; "Evaluation","evaluate"; e[36] = m2; measure; button; "Start Animation","action"; e[37] = m3; measure; button; "Start Animation","action"; // Animation // ========= // // Syntax: // anim[] = "if () animate (, , , , )" // // Meaning: // // : an arbitrary measure object, e.g. a checkbox // : the point object must be dragable on a circle, polygon, straightline, line (connect), or curve // : delay between two steps in the animation // : 0 = left, 1 = right, 2 = alternate (only line segment) // : the animation is divided n steps (for a curve object there is no meaning) // : 0 = loop the animation, 1..n = repeat animation n times anim[1] = "if (calculate(m2)) animate (an1,10,2,100,1)" anim[2] = "if (calculate(m3)) animate (an1,10,1,100,1)" // Aufgabenanalyse // =============== MAX_ANSWER = 0 // condition[1] = "isIncluded(P1,Y2)" condition[1] = "isIncluded(P2,Y3)" condition[2] = "isIncluded(P3,Y5)" condition[3] = "isIncluded(P4,Y1)" condition[4] = "isIncluded(P5,Y4)" key = "condition[1] AND condition[2] AND condition[3] AND condition[4]" comment[1] = " EXACTLY!" key = "1" comment[1] = " Your answer is not right. /n Just try again."