$\text{Überprüfen}$

$\text{Neuer Versuch}$

$\text{Neue Aufgabe}$

\text{This text shows a hint for the student.\\
It is shown after the second wrong answer\
and is displayed during the third try.}

No selection allowed for all input boxes

Selection allowed for all input boxes

\textsf{Welcher Bruchteil wird blau dargestellt?\Kreuze alle Brüche an.

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}

$a=$

$b=$

\text{This hint is for typical misconceptions of\students. It is shown after any wrong answer\that shows the typical error.}

\textsf\colorbox{ebe7f8}{Findest du auch noch weitere Brüche,\
die denselben Wert haben?}

A18: 3
B18: 4
C18: 3
D18: 4
I18: 1
J18: 4
K18: 1
L18: 4
M18: 2
N18: 3
O18: 2
P18: 3
Q18: 1
R18: 3
S18: 1
T18: 3
A19: 6
B19: 8
C19: 9
D19: 12
I19: 2
J19: 8
K19: 2
L19: 8
M19: 4
N19: 6
O19: 4
P19: 6
Q19: 2
R19: 6
S19: 3
T19: 9
A20: 12
B20: 16
C20: 1
D20: 2
I20: 4
J20: 16
K20: 1
L20: 2
M20: 8
N20: 12
O20: 6
P20: 8
Q20: 4
R20: 12
S20: 4
T20: 8
A21: 3
B21: 6
C21: 5
D21: 9
I21: 2
J21: 7
K21: 2
L21: 3
M21: 4
N21: 5
O21: 3
P21: 4
Q21: 2
R21: 5
S21: 6
T21: 9
A22: 6
B22: 10
C22: 2
D22: 3
M34: {{A18, B18, C18, D18}, {A19, B19, C19, D19}, {A20, B20, C20, D20}, {A21, B21, C21, D21}, {A22, B22, C22, D22}}
I22: 4
J22: 8
K22: 4
L22: 15
M14: {{I18, J18, K18, L18}, {I19, J19, K19, L19}, {I20, J20, K20, L20}, {I21, J21, K21, L21}, {I22, J22, K22, L22}}
M22: 1
N22: 2
O22: 5
P22: 10
M23: {{M18, N18, O18, P18}, {M19, N19, O19, P19}, {M20, N20, O20, P20}, {M21, N21, O21, P21}, {M22, N22, O22, P22}}
Q22: 1
R22: 2
S22: 1
T22: 4
M13: {{Q18, R18, S18, T18}, {Q19, R19, S19, T19}, {Q20, R20, S20, T20}, {Q21, R21, S21, T21}, {Q22, R22, S22, T22}}
questionCount = 13 (slider from 0 to 100, step 1)
ListeAnzahlRichtige = Join(Sequence[Shuffle[{2, 3}], i, 1, 50])
Anzahlrichtig = Element(ListeAnzahlRichtige, questionCount)
ListeBrüche = Join(Sequence[Shuffle[{1, 2, 3, 4}], i, 1, 20])
bruchteil = Element(ListeBrüche, questionCount)
M = If(bruchteil ≟ 1, M13, If[bruchteil ≟ 2, M14, If[bruchteil ≟ 3, M23, If[bruchteil ≟ 4, M34]]])
ListeNennerGross: {Element[M, 3, 2], Element[M, 2, 4]}
nennergross = Element(ListeNennerGross, If[Anzahlrichtig ≟ 3, 1, 2])
rechtecky = If(M13 ≟ M ∨ M ≟ M23, 3, 4)
A: (0, 0)
c = Circle(A, 2)
A1: (x(A), y(A) + Radius[c])
ListeZählerGross: {Element[M, 3, 1], Element[M, 2, 3]}
zählergross = Element(ListeZählerGross, If[Anzahlrichtig ≟ 3, 1, 2])
bruchwinkel: 360 / nennergross
A2 = Rotate(A1, ((-2 * pi / 360) * bruchwinkel), A)
A3 = Rotate(A2, ((-2 * pi / 360) * bruchwinkel), A)
A4 = Rotate(A3, ((-2 * pi / 360) * bruchwinkel), A)
A5 = Rotate(A4, ((-2 * pi / 360) * bruchwinkel), A)
A6 = Rotate(A5, ((-2 * pi / 360) * bruchwinkel), A)
A7 = Rotate(A6, ((-2 * pi / 360) * bruchwinkel), A)
A8 = Rotate(A7, ((-2 * pi / 360) * bruchwinkel), A)
A9 = Rotate(A8, ((-2 * pi / 360) * bruchwinkel), A)
A10 = Rotate(A9, ((-2 * pi / 360) * bruchwinkel), A)
A11 = Rotate(A10, ((-2 * pi / 360) * bruchwinkel), A)
A12 = Rotate(A11, ((-2 * pi / 360) * bruchwinkel), A)
A13 = Rotate(A12, ((-2 * pi / 360) * bruchwinkel), A)
A14 = Rotate(A13, ((-2 * pi / 360) * bruchwinkel), A)
A15 = Rotate(A14, ((-2 * pi / 360) * bruchwinkel), A)
A16 = Rotate(A15, ((-2 * pi / 360) * bruchwinkel), A)
KreisPunkte: {A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16}
ListeLayout1 = Join(Sequence[Shuffle[{1, 2}], i, 1, 1])
ListeLayout2 = Join(Sequence[Shuffle[{1, 2, 3}], i, 1, 33])
ListeLayout = Join({ListeLayout1, {3}, ListeLayout2})
ListePosition = Join(Sequence[Shuffle[{1, 2, 3, 4, 5}], i, 1, 20])
bfeedback = 1.02 (slider from 0 to 4, step 0.01)
PF11 = (-3.14332216965578, -3.6722061948264786)
lfeedback = 1.29 (slider from 0 to 2, step 0.01)
ListeRichtig = Sequence(1, Anzahlrichtig, 1)
ListeFalsch = Sequence(Anzahlrichtig + 1, 5, 1)
pos1 = Element(ListePosition, questionCount)
tick1 = false
tick5 = false
tick4 = false
tick3 = false
tick2 = false
pos2 = RandomElement({1, 2, 3, 4, 5} \ {pos1})
correct2: pos2 ∈ ListeRichtig ∧ tick2 ∨ pos2 ∈ ListeFalsch ∧ (¬tick2)
pos3 = RandomElement({1, 2, 3, 4, 5} \ {pos1, pos2})
correct3: pos3 ∈ ListeRichtig ∧ tick3 ∨ pos3 ∈ ListeFalsch ∧ (¬tick3)
pos4 = RandomElement({1, 2, 3, 4, 5} \ {pos1, pos2, pos3})
correct4: pos4 ∈ ListeRichtig ∧ tick4 ∨ pos4 ∈ ListeFalsch ∧ (¬tick4)
pos5 = RandomElement({1, 2, 3, 4, 5} \ {pos4, pos3, pos2, pos1})
correct5: pos5 ∈ ListeRichtig ∧ tick5 ∨ pos5 ∈ ListeFalsch ∧ (¬tick5)
correct1: pos1 ∈ ListeRichtig ∧ tick1 ∨ pos1 ∈ ListeFalsch ∧ (¬tick1)
ListeCorrect: {correct1, correct2, correct3, correct4, correct5}
AnzahlEingabe = CountIf(x ≟ true, ListeCorrect)
bruchnenner = If(Anzahlrichtig ≟ 3, 2, 4)
bruchzähler = If(Anzahlrichtig ≟ 3, 1, 3)
ze = Element(M, 5, bruchzähler)
zd = Element(M, 4, bruchzähler)
zc = Element(M, 3, bruchzähler)
zb = Element(M, 2, bruchzähler)
za = Element(M, 1, bruchzähler)
ListeZähler: {za, zb, zc, zd, ze}
breite3 = 3.95 (slider from 0 to 5, step 0.01)
C1 = (-4.000178588182111, 2.0196604118518673)
länge = 7.35 (slider from 0 to 10, step 0.01)
breite2 = 1.33 (slider from 0 to 5, step 0.01)
B1 = (-4.015136814996501, 1.0324174421016108)
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
showsolution = false
attemptCount = 1
correctCount = 0
textCountCorrect: "\text{Richtig gelöste Aufgaben: " + (LaTeX[correctCount]) + " }"
showButtonNew = false
showButtonTryAgain = false
showButtonValidate = true
showhint = false
aInput = NaN
InputBox1 = Textfield(aInput)
bInput: NaN
InputBox2 = Textfield(bInput)
correct: AnzahlEingabe ≟ 5
showcorrecttext = false
PF13: PF11 + ((-lfeedback), bfeedback)
PF14: PF11 + (0, bfeedback)
PF12: PF11 + ((-lfeedback), 0)
rectangleCorrect1, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback = Polygon(PF13, PF14, PF11, PF12)
showhinttypicalerror = false
isTypicalError: bInput ≟ aInput + 1
allowCountIncrement = true
layout = Element(ListeLayout, questionCount)
Unterteilung = RandomElement(ListeRichtig)
nenner = Element(M, Unterteilung, bruchnenner)
a1 = Segment(A, A1)
a2 = Segment(A, A2)
a3 = Segment(A, A3)
a4 = Segment(A, A4)
a5 = Segment(A, A5)
a6 = Segment(A, A6)
a7 = Segment(A, A7)
a8 = Segment(A, A8)
a9 = Segment(A, A9)
a10 = Segment(A, A10)
a11 = Segment(A, A11)
a12 = Segment(A, A12)
a13 = Segment(A, A13)
a14 = Segment(A, A14)
a15 = Segment(A, A15)
a16 = Segment(A, A16)
zähler = Element(M, Unterteilung, bruchzähler)
AP = Element(KreisPunkte, zählergross + 1)
d = CircleSector(A, AP, A1)
B4: B1 + (0, (-breite2))
B2: B1 + (länge, 0)
B3: B1 + (länge, (-breite2))
Streifen, b1, b2, b3, b4 = Polygon(B1, B2, B3, B4)
BP1: B1 + (zähler / nenner * (B2 - B1))
BP2: B4 + (zähler / nenner * (B3 - B4))
StreifenP, bp3, bp1, bp2, bp4 = Polygon(B1, BP1, BP2, B4)
C2: C1 + (länge, 0)
C4: C1 + (0, (-breite3))
C3: C1 + (länge, (-breite3))
Rechteck, c1, c2, c3, c4 = Polygon(C1, C2, C3, C4)
xRechteck: zähler
CP1: C1 + (xRechteck / nenner * (C2 - C1))
CP2: C4 + (xRechteck / nenner * (C2 - C1))
CP3: C4
ReckteckP, cp4, cp1, cp2, cp3 = Polygon(C1, CP1, CP2, CP3)
E18: 1
F18: 2
G18: 1
H18: 2
E19: 2
F19: 4
G19: 3
H19: 6
E20: 5
F20: 10
G20: 5
H20: 11
E21: 6
F21: 9
G21: 3
H21: 4
E22: 3
F22: 8
G22: 1
H22: 8
na = Element(M, 1, bruchnenner)
nb = Element(M, 2, bruchnenner)
nc = Element(M, 3, bruchnenner)
a = Element(M, 4, bruchnenner)
nd = Element(M, 4, bruchnenner)
ne = Element(M, 5, bruchnenner)
ListeNenner: {na, nb, nc, nd, ne}
z1 = Element(ListeZähler, pos1)
z2 = Element(ListeZähler, pos2)
z3 = Element(ListeZähler, pos3)
z4 = Element(ListeZähler, pos4)
z5 = Element(ListeZähler, pos5)
n1 = Element(ListeNenner, pos1)
n2 = Element(ListeNenner, pos2)
n3 = Element(ListeNenner, pos3)
n4 = Element(ListeNenner, pos4)
n5 = Element(ListeNenner, pos5)
TextBruch1: "\textsf{\frac{" + (LaTeX[z1]) + "}{" + (LaTeX[n1]) + "}"
TextBruch2: "\textsf{\frac{" + (LaTeX[z2]) + "}{" + (LaTeX[n2]) + "}"
TextBruch4: "\textsf{\frac{" + (LaTeX[z4]) + "}{" + (LaTeX[n4]) + "}"
TextBruch5: "\textsf{\frac{" + (LaTeX[z5]) + "}{" + (LaTeX[n5]) + "}"
TextBruch3: "\textsf{\frac{" + (LaTeX[z3]) + "}{" + (LaTeX[n3]) + "}"
abstand = 1.81 (slider from 0 to 5, step 0.01)
PF21: PF11 + (abstand, 0)
PF22: PF21 + ((-lfeedback), 0)
PF23: PF21 + ((-lfeedback), bfeedback)
PF24: PF21 + (0, bfeedback)
rectangleCorrect2, pf23, pf24, pf21, pf22 = Polygon(PF23, PF24, PF21, PF22)
PF31: PF21 + (abstand, 0)
PF41: PF31 + (abstand, 0)
PF51: PF41 + (abstand, 0)
PF32: PF31 + ((-lfeedback), 0)
PF42: PF41 + ((-lfeedback), 0)
PF52: PF51 + ((-lfeedback), 0)
PF33: PF31 + ((-lfeedback), bfeedback)
PF43: PF41 + ((-lfeedback), bfeedback)
PF53: PF51 + ((-lfeedback), bfeedback)
PF34: PF31 + (0, bfeedback)
PF44: PF41 + (0, bfeedback)
PF54: PF51 + (0, bfeedback)
rectangleCorrect4, pf43, pf44, pf41, pf42 = Polygon(PF43, PF44, PF41, PF42)
rectangleCorrect5, pf53, pf54, pf51, pf52 = Polygon(PF53, PF54, PF51, PF52)
rectangleCorrect3, pf33, pf34, pf31, pf32 = Polygon(PF33, PF34, PF31, PF32)
E1 = (-4.537244459016504, 2.4359926012486848)
E2 = (4.092544096463935, 2.4516546494437494)
E3 = (4.07688204826887, -2.466228483806509)
E4 = (-4.568568555406633, -2.4975525801966385)
v1, e1, e2, e3, e4 = Polygon(E1, E2, E3, E4)
BalkenStreifeny = Sequence(Segment[B1 + ((i / nennergross * länge), 0), B4 + ((i / nennergross * länge), 0)], i, 1, nennergross - 1)
rechteckx: nennergross / rechtecky
RechteckStreifeny = Sequence(Segment[C1 + ((i / rechtecky * länge), 0), C4 + ((i / rechtecky * länge), 0)], i, 1, rechtecky - 1)
ReckteckStreifenx = Sequence(Segment[C1 - (0, (i / rechteckx * breite3)), C2 - (0, (i / rechteckx * breite3))], i, 1, rechteckx - 1)
b = If(M ≟ M13 ∨ M ≟ M23, 3, 4)
Alltick: tick1 ∧ tick2 ∧ tick3 ∧ tick4 ∧ tick5
correctText: "\text{" + (LaTeX[If[(¬correct) ∧ (correct1 ∨ correct2 ∨ correct3 ∨ correct4 ∨ correct5), "✘ Teilweise richtig", If[correct, "✓ Richtig", "✘ Falsch"]]]) + "}"
solutionText: "\text{Lösung: 
\frac{" + (LaTeX[za]) + "}{" + (LaTeX[na]) + "} = \frac{" + (LaTeX[zb]) + "}{" + (LaTeX[nb]) + "} \textcolor{" + (LaTeX[If[Anzahlrichtig ≟ 3, "006758", "ffffff"]]) + "}{= \frac{" + (LaTeX[zc]) + "}{" + (LaTeX[nc]) + "}}}"
e = If(pos3 ∈ ListeRichtig ∧ tick3 ∧ pos4 ∈ ListeRichtig ∧ tick4 ∧ pos5 ∈ ListeRichtig ∧ tick5, pos1 ∈ ListeRichtig ∧ (tick1 * pos2) ∈ ListeRichtig ∧ tick2)
isAtLeastOneAnswerCorrect: pos1 ∈ ListeRichtig ∧ tick1 ∨ pos2 ∈ ListeRichtig ∧ tick2 ∨ pos3 ∈ ListeRichtig ∧ tick3 ∨ pos4 ∈ ListeRichtig ∧ tick4 ∨ pos5 ∈ ListeRichtig ∧ tick5
sol1: pos1 ∈ ListeRichtig
sol2: pos2 ∈ ListeRichtig
sol3: pos3 ∈ ListeRichtig
sol4: pos4 ∈ ListeRichtig
sol5: pos5 ∈ ListeRichtig
Text5: "\textsf{" + (LaTeX[If[sol5, "✓", "✘"]]) + "}"
Text4: "\textsf{" + (LaTeX[If[sol4, "✓", "✘"]]) + "}"
Text3: "\textsf{" + (LaTeX[If[sol3, "✓", "✘"]]) + "}"
Text2: "\textsf{" + (LaTeX[If[sol2, "✓", "✘"]]) + "}"
Text1: "\textsf{" + (LaTeX[If[sol1, "✓", "✘"]]) + "}"