B

A

\overline{B}

\overline{A}

\cap

“

A

A'

\text{}\
\text{Summe}

\text{Summe}

\overline{R}

Migräne: ja

Migräne: nein

Baum

Quadrat

nBfAf = 0.45 (slider from 0 to 1000000, step 1)
nBfAw = 0.15 (slider from 0 to 1000000, step 1)
nBf: nBfAf + nBfAw
pBfAfBf: round(nBfAf / nBf, 3)
BezPBfAw: "P(" + BezAw + "|" + BezBf + ")"
pBfAwBf: round(nBfAw / nBf, 3)
nBwAf = 0.3 (slider from 0 to 1000000, step 1)
nBwAw = 0.1 (slider from 0 to 1000000, step 1)
nBw: nBwAw + nBwAf
n: nBw + nBf
pBw: round(nBw / n, 3)
pBf: round(nBf / n, 3)
pBwAfBw: round(nBwAf / nBw, 3)
BezPBwAw: "P(" + BezAw + "|" + BezBw + ")"
pBwAwBw: round(nBwAw / nBw, 3)
BezPBfAf: "P(" + BezAf + "|" + BezBf + ")"
BezPBwAf: "P(" + BezAf + "|" + BezBw + ")"
a = 6 (slider from -5 to 10, step 0.1)
vTafel: a / 2
V4: (a + vTafel | a / 2)
V1: (0 + vTafel | a / 2)
V9: V1 + ((pBw * a) | 0)
V3: (a + vTafel | (-(a / 2)))
V10: V3 + (0 | (pBfAfBf * a))
V2: (0 + vTafel | (-(a / 2)))
V5: V2 + ((pBw * a) | 0)
V8: V5 + (0 | (pBfAfBf * a))
V7: V2 + (0 | (pBwAfBw * a))
V6: V5 + (0 | (pBwAfBw * a))
BezBwAf: "" + (LaTeX[BezBw]) + " \cap " + (LaTeX[BezAf]) + ""
BezBwAw: "" + (LaTeX[BezBw]) + " \cap " + (LaTeX[BezAw]) + ""
BezBfAf: "" + (LaTeX[BezBf]) + " \cap " + (LaTeX[BezAf]) + ""
BezBfAw: "" + (LaTeX[BezBf]) + " \cap " + (LaTeX[BezAw]) + ""
Eingabefeld1 = Textfield(nBwAw)
Eingabefeld2 = Textfield(nBwAf)
Eingabefeld3 = Textfield(nBfAf)
Eingabefeld4 = Textfield(nBfAw)
pBfAw: round(nBfAw / n, 3)
q1 = 4.6 (slider from -5 to 5, step 0.1)
q2 = 2.5 (slider from -5 to 5, step 0.1)
Q1: ((-q1) | q2)
Q2: ((-q1) | 0)
Q4: (0 | q2)
Q3: (0 | 0)
KR: (0.4 | -1.5)
R1: Q1 + KR
KS: (0.5 | -0.5)
S1: Q1 + KS
R2: Q2 + KR
R3: Q3 + KR
R4: Q4 + KR
S2: Q2 + KS
S3: Q3 + KS
S4: Q4 + KS
KA: (0.5 | 1.2)
KB: (-2.5 | -0.5)
KU: (-1.4 | 0.2)
pBwAw: round(nBwAw / n, 3)
pBwAf: round(nBwAf / n, 3)
pBfAf: round(nBfAf / n, 3)
Q5: ((-q1) | (-q2))
Q6: (0 | (-q2))
Q7: (q1 | q2)
Q8: (q1 | 0)
Q9: (q1 | (-q2))
nAw: nBwAw + nBfAw
nAf: nBwAf + nBfAf
pAw: round(nAw / n, 3)
pAf: round(nAf / n, 3)
S5: Q5 + KS
S6: Q6 + KS
S7: Q7 + KS
S8: Q8 + KS
S9: Q9 + KS
KR2: (0.5 | -1.5)
R5: Q5 + KR2
R6: Q6 + KR2
R7: Q7 + KR2
R8: Q8 + KR2
R9: Q9 + KR2
pS = 1 (slider from -5 to 5, step 0.1)
Text23: "" + (LaTeX[nAw]) + ""
Text24: "" + (LaTeX[nAf]) + ""
Text21: "" + (LaTeX[nBw]) + ""
Text22: "" + (LaTeX[nBf]) + ""
Text25: "" + (LaTeX[n]) + ""
tabelle: {{false, "X", "...", 0}, {true, BezBwAw, "P(" + BezBwAw + ") = " + (LaTeX[pBwAw]), 1}, {true, BezBwAf, "P(" + BezBwAf + ") = " + (LaTeX[pBwAf]), 1}, {false, "...", "\frac{1}{3}", 0}, {true, BezBfAw, "P(" + BezBfAw + ") = " + (LaTeX[pBfAw]), 1}, {true, BezBfAf, "P(" + BezBfAf + ") = " + (LaTeX[pBfAf]), 1}}
struktur: {{"O", (0 | 0 | 0), (0 | 0 | 0), "P(" + BezBw + ") =" + (LaTeX[pBw]), BezBw, (1 | 0 | 0), (1 | 0 | 0), 1}, {"O", (1 | 0 | 0), (1 | 0 | 0), BezPBwAw + " = " + (LaTeX[pBwAwBw]), BezAw, (2 | 0 | 0), (1 | 1 | 0), 2}, {"O", (1 | 0 | 0), (1 | 0 | 0), BezPBwAf + " = " + (LaTeX[pBwAfBw]), BezAf, (2 | 0 | 0), (1 | -1 | 0), 2}, {"O", (0 | 0 | 0), (0 | 0 | 0), "P(" + BezBf + ") = " + (LaTeX[pBf]), BezBf, (1 | 0 | 0), (-1 | 0 | 0), 1}, {"O", (1 | 0 | 0), (-1 | 0 | 0), BezPBfAw + " = " + (LaTeX[pBfAwBf]), BezAw, (2 | 0 | 0), (-1 | 1 | 0), 2}, {"O", (1 | 0 | 0), (-1 | 0 | 0), BezPBfAf + " = " + (LaTeX[pBfAfBf]), BezAf, (2 | 0 | 0), (-1 | -1 | 0), 2}}
stufe = 3 (slider from -5 to 5, step 0.1)
v = 1 (slider from -5 to 5, step 0.1)
ah: (3, 3, 0.9)
av: (2, 1.5, 1.1)
knotenmitten = Sequence(If[Element[Element[struktur, i], 8] ≤ stufe, ((Element[Element[struktur, i], 6] * ah) | (Element[Element[struktur, i], 7] * av))], i, 1, Length[struktur])
r = 1 (slider from -5 to 5, step 0.1)
verbindungen = Sequence(If[Element[Element[struktur, i], 8] ≤ stufe, Segment[((Element[Element[struktur, i], 2] * ah) | (Element[Element[struktur, i], 3] * av)), ((Element[Element[struktur, i], 6] * ah) | (Element[Element[struktur, i], 7] * av))]], i, 1, Length[struktur])
knoten = Zip(Circle[X, 0.5], X, knotenmitten)
korrekturK: (-0.2, 0.3)
positionKnotenbezeichner = Sequence(Element[knotenmitten, i] + korrekturK, i, 1, Length[knotenmitten])
knotenbezeichner = Sequence(Element[Element[struktur, i], 5], i, 1, Length[struktur])
darstellungKnoten = Zip(Text[K, P, false, true], K, knotenbezeichner, P, positionKnotenbezeichner)
korrekturV: (-1.4, 0.4)
verbindungsmitten = Zip(Midpoint[S], S, verbindungen)
positionWahrscheinlichkeiten = Sequence(Element[verbindungsmitten, i] + korrekturV, i, 1, Length[verbindungsmitten])
wahrscheinlichkeiten = Sequence(Element[Element[struktur, i], 4], i, 1, Length[struktur])
darstellungwahrscheinlichkeiten = Zip(Text[W, P, false, true], W, wahrscheinlichkeiten, P, positionWahrscheinlichkeiten)
elemente = Sequence(If[Element[Element[tabelle, i], 1], Element[Element[tabelle, i], 2], ""], i, 1, Length[tabelle])
korrekturE: (1, 0.3)
positionenTabelle = Sequence((((1 | 1 | 1) * ah) | (Element[Element[struktur, i], 7] * av)), i, 1, Length[struktur])
b: positionenTabelle
positionenElemente = Sequence(Element[positionenTabelle, i] + korrekturE, i, 1, Length[positionenTabelle])
korrekturW: (3, 0.3)
positionenWTabelle = Sequence(Element[positionenTabelle, i] + korrekturW, i, 1, Length[positionenTabelle])
wahrscheinlichkeitenTabelle = Sequence(If[Element[Element[tabelle, i], 1], Element[Element[tabelle, i], 3], ""], i, 1, Length[tabelle])
darstellungTabelleWahrscheinlichkeiten = Zip(Text[E, P, false, true], E, wahrscheinlichkeitenTabelle, P, positionenWTabelle)
m1: {{"O", (0 | 0 | 0), (0 | 0 | 0), "P(BezBw) =" + (LaTeX[nBw]), BezBw, (1 | 0 | 0), (1 | 0 | 0), 1}, {"O", (1 | 0 | 0), (1 | 0 | 0), "P(BezAw|BezBw) = " + (LaTeX[pBwAwBw]), BezAw, (2 | 0 | 0), (1 | 1 | 0), 2}, {"O", (1 | 0 | 0), (1 | 0 | 0), "P(\overline{A}|B) = " + (LaTeX[pBwAfBw]), "\overline{A}", (2 | 0 | 0), (1 | -1 | 0), 2}, {"O", (0 | 0 | 0), (0 | 0 | 0), "P(\overline{B}) = " + (LaTeX[nBf]), "\overline{B}", (1 | 0 | 0), (-1 | 0 | 0), 1}, {"O", (1 | 0 | 0), (-1 | 0 | 0), "P(A|\overline{B}) = " + (LaTeX[pBfAwBf]), "A", (2 | 0 | 0), (-1 | 1 | 0), 2}, {"O", (1 | 0 | 0), (-1 | 0 | 0), "P(\overline{A}|\overline{B}) = " + (LaTeX[pBfAfBf]), "\overline{A}", (2 | 0 | 0), (-1 | -1 | 0), 2}}
darstellungTabelleElemente = Zip(Text[E, P, true, true], E, elemente, P, positionenElemente)
unkteTafelInnen = 1 (slider from -5 to 5, step 0.1)
PunkteTafelInnen: {Q1, Q2, Q3, Q4}
RechteckQ1 = Polygon({Q1, Q1 + (0 | (-q2)), Q1 + (q1 | (-q2)), Q1 + (q1 | 0)})
RechteckQ2 = Polygon({Q2, Q2 + (0 | (-q2)), Q2 + (q1 | (-q2)), Q2 + (q1 | 0)})
RechteckQ3 = Polygon({Q3, Q3 + (0 | (-q2)), Q3 + (q1 | (-q2)), Q3 + (q1 | 0)})
RechteckQ4 = Polygon({Q4, Q4 + (0 | (-q2)), Q4 + (q1 | (-q2)), Q4 + (q1 | 0)})
RechteckQ5 = Polygon({Q5, Q5 + (0 | (-q2)), Q5 + (q1 | (-q2)), Q5 + (q1 | 0)})
RechteckQ6 = Polygon({Q6, Q6 + (0 | (-q2)), Q6 + (q1 | (-q2)), Q6 + (q1 | 0)})
RechteckQ7 = Polygon({Q7, Q7 + (0 | (-q2)), Q7 + (q1 | (-q2)), Q7 + (q1 | 0)})
RechteckQ8 = Polygon({Q8, Q8 + (0 | (-q2)), Q8 + (q1 | (-q2)), Q8 + (q1 | 0)})
RechteckQ9 = Polygon({Q9, Q9 + (0 | (-q2)), Q9 + (q1 | (-q2)), Q9 + (q1 | 0)})
TafelH1 = Segment(Q1, Q4 + (q1 | 0))
TafelH2 = Segment(Q2, Q3 + (q1 | 0))
TafelH3 = Segment(Q2 + (0 | (-q2)), Q3 + (q1 | (-q2)))
TafelV1 = Segment(Q1, Q1 + (2 * (0 | (-q2))))
TafelV2 = Segment(Q4, Q4 + (2 * (0 | (-q2))))
TafelV3 = Segment(Q4 + (q1 | 0), Q4 + (q1 | (-2 * q2)))
c = false
schalter = 3 (slider from 1 to 3, step 1)
Bezeichner: {"H", "h", "P"}
BezAktuell = Element(Bezeichner, schalter)
Text19: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezAw]) + ") ="
Text20: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezAf]) + ") ="
Text17: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezBw]) + ") = "
Text18: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezBf]) + ") ="
Text26: "" + (LaTeX[BezAktuell]) + "(\Omega) = "
Text9: "" + (LaTeX[pAw]) + ""
Text11: "" + (LaTeX[pBw]) + ""
Text12: "" + (LaTeX[pBf]) + ""
Text10: "" + (LaTeX[pAf]) + ""
Text14: "" + (LaTeX[pBwAw]) + ""
Text16: "" + (LaTeX[pBwAf]) + ""
Text15: "" + (LaTeX[pBfAw]) + ""
Text29: "" + (LaTeX[pBfAf]) + ""
BfAw = 1 (slider from -5 to 5, step 0.1)
l1: {((0 * abs((a * (pAw * BfAw)))) | a / ((2 * abs((a * (pAw * BfAw)))) | a / ((2 * abs(a)) | (0 * abs(a)))))}
vBwAw = Polygon({V1, V7, V6, V9})
vBwAf = Polygon({V7, V2, V5, V6})
d: v
vBfAw = Polygon({V9, V8, V10, V4})
vBfAf = Polygon({V8, V5, V3, V10})
U4: (a / 2 + vTafel | a / 2)
U3: (a / 2 + vTafel | (-(a / 2)))
Text36: "" + (LaTeX[BezAw]) + ""
Text37: "" + (LaTeX[BezAf]) + ""
e = true
A: V8_{1}
sQ5 = Segment(V9, V5)
sQ3 = Segment(V7, V6)
sQ7 = Segment(V8, V10)
sQ4 = Segment(V1, V2)
sQ2 = Segment(V2, V3)
sQ6 = Segment(V3, V4)
sQ1 = Segment(V4, V1)
Text1: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezBw]) + " \cap " + (LaTeX[BezAw]) + ") = "
Text4: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezBf]) + " \cap " + (LaTeX[BezAw]) + ") ="
Text2: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezBw]) + " \cap " + (LaTeX[BezAf]) + ") = "
Text3: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezBf]) + " \cap " + (LaTeX[BezAf]) + ") ="
Text34: "" + (LaTeX[BezBw]) + ""
Text35: "" + (LaTeX[BezBf]) + ""
Text38: "" + nBwAw + ""
Text39: "" + nBwAf + ""
Text40: "" + nBfAw + ""
Text41: "" + nBfAf + ""
Text7: "" + (LaTeX[BezAw]) + ": \\
\text{Ereignis 1:}\\
\text{erfüllt}"
Text8: "" + (LaTeX[BezAf]) + ": \\
\text{Ereignis 1} \\
\text{nicht erf.} "
Text5: "" + (LaTeX[BezBw]) + ": \\
\text{Ereignis 2: erfüllt}"
Text6: "" + (LaTeX[BezBf]) + ": \\
\text{Ereignis 2: nicht erf.}"
Text13: "" + (LaTeX[n]) + ""
Text32: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezAf]) + "|" + (LaTeX[BezBw]) + ") = " + (LaTeX[pBwAfBw]) + ""
Text30: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezAw]) + "|" + (LaTeX[BezBw]) + ") = " + (LaTeX[pBwAwBw]) + ""
Text31: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezAw]) + "|" + (LaTeX[BezBf]) + ") = " + (LaTeX[pBfAwBf]) + ""
Text33: "" + (LaTeX[BezAktuell]) + "(" + (LaTeX[BezAf]) + "|" + (LaTeX[BezBf]) + ") = " + (LaTeX[pBfAfBf]) + ""