0123456789 

$\text{}$

$\text{}$

$\text{}$

$\text{}$

$\text{Überprüfen}$

$\text{Neuer Versuch}$

$\text{Neue Aufgabe}$

\text{\vphantom{Äg}Berechne das Produkt in der Klammer zuerst!}

No selection allowed for all input boxes

Selection allowed for all input boxes

Fix position and allow selection for all text objects

Empty all input boxes

#EDEDED

\text{Text for just the correct answer.}

\underline\text{Helper scripts for template}

\underline\text{Helper scripts for authors}

\text{Berechne das Produkt auf zwei verschiedene Arten.}

$\text{Überprüfen}$

$\text{Überprüfen}$

$\text{Überprüfen}$

$\text{Neuer Versuch}$

$\text{Neuer Versuch}$

$\text{Neuer Versuch}$

\textsf{Schreibe in die Felder das berechnete Ergebnis!}

$\textsf{\vphantom{Äg}Weiter}$

dyFB = 0.75 (slider from -5 to 5, step 0.01)
A_{1} = (1.314693624578577, 5.931916643217584)
dxFB = 1.82 (slider from -5 to 5, step 0.01)
part2 = false
input1 = NaN
input2 = NaN
input4 = NaN
input3 = NaN
fixed1 = Defined((((input1 * input2) * input3) * input4))
input6 = NaN
input5 = NaN
fixed2 = Defined((input5 * input6))
possibleC: {2, 3, 4, 5, 6, 9}
randomNosForC = Shuffle(Sequence[RandomElement[possibleC], i, 1, 100])
possibleA: {1, 2, 5, 6, 9}
randomNosForA = Shuffle(Sequence[RandomElement[possibleA], i, 1, 100])
randomNosForPositionA = Shuffle(Sequence[Random[1, 2], i, 1, 100])
questionCount = 7
numC = Element(randomNosForC, Mod[questionCount, Length[randomNosForC]] + 1)
numA = Element(randomNosForA, Mod[questionCount, Length[randomNosForA]] + 1)
positionA = Element(randomNosForPositionA, Mod[questionCount, Length[randomNosForPositionA]] + 1)
actualNumA = If(positionA ≟ 1, numA, If[positionA ≟ 2, numC])
actualNumC = If(positionA ≟ 1, numC, If[positionA ≟ 2, numA])
correctInput2: actualNumC
possibleB: {4, 5, 6}
randomNosForB = Shuffle(Sequence[RandomElement[possibleB], i, 1, 100])
numB = Element(randomNosForB, Mod[questionCount, Length[randomNosForB]] + 1)
actualNumB: numB
textProduct1: "\text{\[\underbrace{(" + (LaTeX[actualNumA]) + "\;·\;" + (LaTeX[actualNumB]) + ")}\;·\;" + (LaTeX[actualNumC]) + "\]}"
textCheckbox1: "\text{\[" + (LaTeX[textProduct1]) + "\]}"
correctInput1: (actualNumA * actualNumB)
product: ((actualNumA * actualNumB) * actualNumC)
InputBox6 = Textfield(input5)
inputCorrectL2: Length[KeepIf[¬(temp ∈ TextToUnicode[erlaubteZeichen]), temp, TextToUnicode[Text[InputBox6]]]] ≟ 0
InputBox7 = Textfield(input6)
inputCorrectR2: Length[KeepIf[¬(temp ∈ TextToUnicode[erlaubteZeichen]), temp, TextToUnicode[Text[InputBox7]]]] ≟ 0
InputBox4 = Textfield(input3)
InputBox5 = Textfield(input4)
inputCorrectR1: Length[KeepIf[¬(temp ∈ TextToUnicode[erlaubteZeichen]), temp, TextToUnicode[Text[((InputBox4 * "") * InputBox5)]]]] ≟ 0
InputBox3 = Textfield(input2)
studentInput = NaN
InputBox1 = Textfield(studentInput)
InputBox2 = Textfield(input1)
showInputBox7 = false
showInputBox6 = false
fixedLeft: (¬showInputBox6) ∨ Defined[input5]
fixedRight: (¬showInputBox7) ∨ Defined[input6]
A = (-3.16084808834031, 5.9147198671914065)
D: (x(A), y(A) - dyFB)
B: (x(A) + dxFB, y(A))
correctInput4: (actualNumB * actualNumC)
correctInput3: actualNumA
inputCorrectL1: Length[KeepIf[¬(temp ∈ TextToUnicode[erlaubteZeichen]), temp, TextToUnicode[Text[((InputBox2 * "") * InputBox3)]]]] ≟ 0
correctRight1: input3 ≟ correctInput3 ∧ input4 ≟ correctInput4 ∧ inputCorrectR1
correctRight2: input6 ≟ product ∧ inputCorrectR2
correctLeft2: input5 ≟ product ∧ inputCorrectL2
correctLeft1: input1 ≟ correctInput1 ∧ input2 ≟ correctInput2 ∧ inputCorrectL1
showButtonNewRight = false
showButtonNewLeft: showButtonNewRight
PbottomRightCornerFeedback: (-0.42, 4.25)
Blue = (-5.32, 4.5)
Green = (-5.28, 3.68)
Orange = (-5.2, 2.86)
Red = (-5.32, 2.04)
Purple = (-5.34, 1.12)
Gray = (-5.34, 0.32)
GrayDark = (-5.36, -0.7)
validate = false
showanswer = false
showsolutionLeft = false
attemptCountLeft1 = 0
correctCount = 0
textCountCorrect: "\text{Richtig gelöste Aufgaben: " + (LaTeX[correctCount]) + " }"
showButtonTryAgainLeft2 = false
showButtonValidateLeft2 = false
showhint = false
correct: correctLeft1 ∧ correctLeft2 ∧ correctRight1 ∧ correctRight2
showcorrecttext = false
PtopLeftCornerFeedback: (x(PbottomRightCornerFeedback) - 1.2, y(PbottomRightCornerFeedback) + 0.85)
PtopRightCornerFeedback: (x(PbottomRightCornerFeedback), y(PtopLeftCornerFeedback))
PbottomLeftCornerFeedback: (x(PtopLeftCornerFeedback), y(PbottomRightCornerFeedback))
rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback = Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback)
showhinttypicalerror = false
correctText: "\text{" + (LaTeX[If[correct, "✓ Richtig", "✘ Falsch"]]) + "}"
allowCountIncrement = true
checkbox1 = false
checkbox2 = false
textProduct2: "\text{\[" + (LaTeX[actualNumA]) + "\;·\underbrace{(" + (LaTeX[actualNumB]) + "\;·\;" + (LaTeX[actualNumC]) + ")}\]}"
questionText: "\text{\[" + (LaTeX[ReplaceAll[textProduct1, "\underbrace", ""]]) + "=" + (LaTeX[ReplaceAll[textProduct2, "\underbrace", ""]]) + "\]}"
textInputBox: "\text{\[" + (LaTeX[If[checkbox1, textProduct1, If[checkbox2, textProduct2]]]) + "=\]}"
showInputBox1: checkbox1 ∨ checkbox2
textEasyProduct: "\text{\[" + (LaTeX[If[positionA ≟ 1, numA, If[positionA ≟ 2, numB]]]) + "\;·" + (LaTeX[If[positionA ≟ 1, numB, If[positionA ≟ 2, numA]]]) + "\]}"
hintTypicalError: "\text{\vphantom{Äg}" + (LaTeX[textEasyProduct]) + " ist einfacher zu berechnen, deshalb sollte\\diese Multiplikation zuerst gerechnet werden.}"
isTypicalError = If(positionA ≟ 1, checkbox2, If[positionA ≟ 2, checkbox1])
textCheckbox2: "\text{\[" + (LaTeX[textProduct2]) + "\]}"
step: 0
showButtonValidateLeft1 = true
showButtonValidateRight1 = true
showButtonValidateRight2 = false
showButtonTryAgainLeft1 = false
showButtonTryAgainRight1 = false
showButtonTryAgainRight2 = false
showcorrecttextLeft1 = false
showcorrecttextRight1 = false
attemptCountLeft2 = 2
attemptCountRight1 = 0
attemptCountRight2 = 2
text6: "\text{\[" + (LaTeX[correctInput1]) + "\;·" + (LaTeX[correctInput2]) + "=\]}"
text7: "\text{\[" + (LaTeX[correctInput3]) + "\;·" + (LaTeX[correctInput4]) + "=\]}"
showcorrecttextLeft2 = false
showcorrecttextRight2 = false
solutionTextRight: "\text{Lösung: 
\\" + (LaTeX[textCheckbox2]) + "
\\\quad \[" + (LaTeX[correctInput3]) + "\;·" + (LaTeX[correctInput4]) + "=" + (LaTeX[product]) + "\]}"
showsolutionRight = false
C: (x(B), y(D))
q1, a, b, c, d = Polygon(A, B, C, D)
B_{1}: (x(A_{1}) + 1.84, y(A_{1}))
D_{1}: (x(A_{1}), y(A_{1}) - dyFB)
C_{1}: (x(B_{1}), y(D_{1}))
q1_{1}, a_{1}, b_{1}, c_{1}, d_{1} = Polygon(A_{1}, B_{1}, C_{1}, D_{1})
A_{2} = (-1.0049839780391894, 5.920623147976743)
D_{2}: (x(A_{2}), y(A_{2}) - 0.71)
B_{2}: (x(A_{2}) + 1.17, y(A_{2}))
C_{2}: (x(B_{2}), y(D_{2}))
q1_{2}, a_{2}, b_{2}, c_{2}, d_{2} = Polygon(A_{2}, B_{2}, C_{2}, D_{2})
A_{3} = (3.623734022159654, 5.961421668798426)
D_{3}: (x(A_{3}), y(A_{3}) - 0.71)
B_{3}: (x(A_{3}) + 1.17, y(A_{3}))
C_{3}: (x(B_{3}), y(D_{3}))
q1_{3}, a_{3}, b_{3}, c_{3}, d_{3} = Polygon(A_{3}, B_{3}, C_{3}, D_{3})
solutionTextLeft: "\text{Lösung: \\" + (LaTeX[textCheckbox1]) + " \\\quad
\[" + (LaTeX[correctInput1]) + "\;·" + (LaTeX[correctInput2]) + "=" + (LaTeX[product]) + "\]}"
tabbingOrder: {text3, questionText, hintText, textCheckbox1, InputBox2, InputBox3, InputBox6, solutionTextLeft, btnValidateLeft1, btnTryAgainLeft1, btnValidateLeft2, btnTryAgainLeft2, textCheckbox2, InputBox4, InputBox5, InputBox7, solutionTextRight, btnValidateRight1, btnTryAgainRight1, btnValidateLeft2, btnTryAgainLeft2, btnValidateRight2, btnTryAgainRight2, textCountCorrect, btnNew}
fixed = If(part2, fixed2, fixed1)
showHintInput = false
inputCorrect: inputCorrectL1 ∧ inputCorrectL2 ∧ inputCorrectR1 ∧ inputCorrectR2
correctTextLeft1: "\text{" + (LaTeX[If[correctLeft1, "✓", "✘"]]) + "}"
correctTextRight1: "\text{" + (LaTeX[If[correctRight1, "✓", "✘"]]) + "}"
correctTextLeft2: "\text{" + (LaTeX[If[correctLeft2, "✓", "✘"]]) + "}"
correctTextRight2: "\text{" + (LaTeX[If[correctRight2, "✓", "✘"]]) + "}"
correct2: correctLeft2 ∧ correctRight2
correct1: correctLeft1 ∧ correctRight1
attemptCount1 = 0
attemptCount2 = 0
showButtonTryAgain = false
showsolution = false
showButtonValidate = true
showButtonNew = false
PosBtn = (-0.6740128801805781, 2.0563760594872305)
E = (5.71722948597117, 8.406823261599774)
F = (5.744426261997346, -0.1465627986331762)
f = Segment(E, F)
G = (-4.767127672120312, 3.185042264573617)
H = Point(f)
g = Segment(G, H)
h = LineBisector(G, H)
I = (-1.9930565174501924, 6.747819924002922)
J = (2.9023631672617825, 6.761418312016011)
i = Segment(I, J)
j = LineBisector(I, J)
KonstruktionsTool = false
showpart2 = false
textCheckbox11: "\textsf{\[" + (LaTeX[correctInput1]) + " \;\;·\;\; " + (LaTeX[correctInput2]) + "\;\;= \]}"
textCheckbox21: "\textsf{\[" + (LaTeX[correctInput3]) + "  \;\; ·\;\; " + (LaTeX[correctInput4]) + " \;\;= \]}"
dxRechtesEingabefeld = 4.49 (slider from -5 to 15, step 0.01)
dxEingabefeldShift = 1.01 (slider from -5 to 5, step 0.01)
InputPos = (-3.0945259465103865, 5.7823343750736065)
K = Point(xAxis)
k = OrthogonalLine(K, xAxis)
L = Point(xAxis)
l = LineBisector(L, K)
Tools = false
txtCorrectext1: "\textsf{\begin{array}{c}\qquad\qquad\qquad\qquad   
\\" + (LaTeX[If[(¬correct1) ∧ (correctLeft1 ∨ correctRight1), "✘ Teilweise richtig", If[correct1, "✓ Richtig", "✘ Falsch"]]]) + "
\end{array}
}"
txtCorrectext2: "\textsf{
\textsf{\begin{array}{c}\qquad\qquad\qquad\qquad   
\\" + (LaTeX[If[(¬correct) ∧ (correctLeft2 ∨ correctRight2), "✘ Teilweise richtig", If[correct, "✓ Richtig", "✘ Falsch"]]]) + "

 
\end{array}
}"
PosValidate = (2.4128211987905828, 2.097171223526497)
txtSymbols1: "\textsf{\cdot" + (LaTeX[If[part2, "          =", ""]]) + "}"
txtSymbols2: "\textsf{\cdot" + (LaTeX[If[part2, "          =", ""]]) + "}"