von

nach

start = 1 (slider from 1 to 3, step 1)
E50 = Sum(($C49:$E49 * $C$5:$E$5))
D50 = Sum(($C49:$E49 * $C$4:$E$4))
C50 = Sum(($C49:$E49 * $C$3:$E$3))
C2: 3
D2: 2
E2: 1
B3: 3
C3: 0.25
D3: 0.25
E3: 0
B4: 2
C4: 0.750000000000001
D4: 0.625000000000001
E4: 1
B5: 1
C5: 0
D5: 0.125
E5: 0
n = 1401 (slider from 2 to 5000, step 1)
L = IterationList(If[S ≟ 3, RandomDiscrete[{3, 2, 1}, C3:C5], 0] + If[S ≟ 2, RandomDiscrete[{3, 2, 1}, D3:D5], 0] + If[S ≟ 1, RandomDiscrete[{3, 2, 1}, E3:E5], 0], S, {start}, n)
Zeitpunkte_1 = Sequence(If[L(i) ≟ start, i, 0], i, 1, n + 1)
Zeitpunkte_2 = Take(Unique[Zeitpunkte_1], 2)
Wartezeiten = Sequence(Zeitpunkte_2(i) - Zeitpunkte_2(i - 1), i, 2, Length[Zeitpunkte_2])
klassen = Classes(Wartezeiten, 0.5, 1)
a = Histogram(klassen, Wartezeiten, true, 1 / Length[Wartezeiten])
mittlereRückkehrzeit = mean(Wartezeiten)
b = Length(Wartezeiten)
C8 = If(start ≟ 3, 1, 0)
D8 = If(start ≟ 2, 1, 0)
E8 = If(start ≟ 1, 1, 0)
C7: C2
D7: D2
E7: E2
C9 = Sum(($C8:$E8 * $C$3:$E$3))
D9 = Sum(($C8:$E8 * $C$4:$E$4))
E9 = Sum(($C8:$E8 * $C$5:$E$5))
C10 = Sum(($C9:$E9 * $C$3:$E$3))
D10 = Sum(($C9:$E9 * $C$4:$E$4))
E10 = Sum(($C9:$E9 * $C$5:$E$5))
C11 = Sum(($C10:$E10 * $C$3:$E$3))
D11 = Sum(($C10:$E10 * $C$4:$E$4))
E11 = Sum(($C10:$E10 * $C$5:$E$5))
C12 = Sum(($C11:$E11 * $C$3:$E$3))
D12 = Sum(($C11:$E11 * $C$4:$E$4))
E12 = Sum(($C11:$E11 * $C$5:$E$5))
C13 = Sum(($C12:$E12 * $C$3:$E$3))
D13 = Sum(($C12:$E12 * $C$4:$E$4))
E13 = Sum(($C12:$E12 * $C$5:$E$5))
C14 = Sum(($C13:$E13 * $C$3:$E$3))
D14 = Sum(($C13:$E13 * $C$4:$E$4))
E14 = Sum(($C13:$E13 * $C$5:$E$5))
C15 = Sum(($C14:$E14 * $C$3:$E$3))
D15 = Sum(($C14:$E14 * $C$4:$E$4))
E15 = Sum(($C14:$E14 * $C$5:$E$5))
C16 = Sum(($C15:$E15 * $C$3:$E$3))
D16 = Sum(($C15:$E15 * $C$4:$E$4))
E16 = Sum(($C15:$E15 * $C$5:$E$5))
C17 = Sum(($C16:$E16 * $C$3:$E$3))
D17 = Sum(($C16:$E16 * $C$4:$E$4))
E17 = Sum(($C16:$E16 * $C$5:$E$5))
C18 = Sum(($C17:$E17 * $C$3:$E$3))
D18 = Sum(($C17:$E17 * $C$4:$E$4))
E18 = Sum(($C17:$E17 * $C$5:$E$5))
C19 = Sum(($C18:$E18 * $C$3:$E$3))
D19 = Sum(($C18:$E18 * $C$4:$E$4))
E19 = Sum(($C18:$E18 * $C$5:$E$5))
C20 = Sum(($C19:$E19 * $C$3:$E$3))
D20 = Sum(($C19:$E19 * $C$4:$E$4))
E20 = Sum(($C19:$E19 * $C$5:$E$5))
C21 = Sum(($C20:$E20 * $C$3:$E$3))
D21 = Sum(($C20:$E20 * $C$4:$E$4))
E21 = Sum(($C20:$E20 * $C$5:$E$5))
C22 = Sum(($C21:$E21 * $C$3:$E$3))
D22 = Sum(($C21:$E21 * $C$4:$E$4))
E22 = Sum(($C21:$E21 * $C$5:$E$5))
C23 = Sum(($C22:$E22 * $C$3:$E$3))
D23 = Sum(($C22:$E22 * $C$4:$E$4))
E23 = Sum(($C22:$E22 * $C$5:$E$5))
C24 = Sum(($C23:$E23 * $C$3:$E$3))
D24 = Sum(($C23:$E23 * $C$4:$E$4))
E24 = Sum(($C23:$E23 * $C$5:$E$5))
C25 = Sum(($C24:$E24 * $C$3:$E$3))
D25 = Sum(($C24:$E24 * $C$4:$E$4))
E25 = Sum(($C24:$E24 * $C$5:$E$5))
C26 = Sum(($C25:$E25 * $C$3:$E$3))
D26 = Sum(($C25:$E25 * $C$4:$E$4))
E26 = Sum(($C25:$E25 * $C$5:$E$5))
C27 = Sum(($C26:$E26 * $C$3:$E$3))
D27 = Sum(($C26:$E26 * $C$4:$E$4))
E27 = Sum(($C26:$E26 * $C$5:$E$5))
C28 = Sum(($C27:$E27 * $C$3:$E$3))
D28 = Sum(($C27:$E27 * $C$4:$E$4))
E28 = Sum(($C27:$E27 * $C$5:$E$5))
C29 = Sum(($C28:$E28 * $C$3:$E$3))
D29 = Sum(($C28:$E28 * $C$4:$E$4))
E29 = Sum(($C28:$E28 * $C$5:$E$5))
C30 = Sum(($C29:$E29 * $C$3:$E$3))
D30 = Sum(($C29:$E29 * $C$4:$E$4))
E30 = Sum(($C29:$E29 * $C$5:$E$5))
C31 = Sum(($C30:$E30 * $C$3:$E$3))
D31 = Sum(($C30:$E30 * $C$4:$E$4))
E31 = Sum(($C30:$E30 * $C$5:$E$5))
C32 = Sum(($C31:$E31 * $C$3:$E$3))
D32 = Sum(($C31:$E31 * $C$4:$E$4))
E32 = Sum(($C31:$E31 * $C$5:$E$5))
C33 = Sum(($C32:$E32 * $C$3:$E$3))
D33 = Sum(($C32:$E32 * $C$4:$E$4))
E33 = Sum(($C32:$E32 * $C$5:$E$5))
C34 = Sum(($C33:$E33 * $C$3:$E$3))
D34 = Sum(($C33:$E33 * $C$4:$E$4))
E34 = Sum(($C33:$E33 * $C$5:$E$5))
C35 = Sum(($C34:$E34 * $C$3:$E$3))
D35 = Sum(($C34:$E34 * $C$4:$E$4))
E35 = Sum(($C34:$E34 * $C$5:$E$5))
C36 = Sum(($C35:$E35 * $C$3:$E$3))
D36 = Sum(($C35:$E35 * $C$4:$E$4))
E36 = Sum(($C35:$E35 * $C$5:$E$5))
C37 = Sum(($C36:$E36 * $C$3:$E$3))
D37 = Sum(($C36:$E36 * $C$4:$E$4))
E37 = Sum(($C36:$E36 * $C$5:$E$5))
C38 = Sum(($C37:$E37 * $C$3:$E$3))
D38 = Sum(($C37:$E37 * $C$4:$E$4))
E38 = Sum(($C37:$E37 * $C$5:$E$5))
C39 = Sum(($C38:$E38 * $C$3:$E$3))
D39 = Sum(($C38:$E38 * $C$4:$E$4))
E39 = Sum(($C38:$E38 * $C$5:$E$5))
C40 = Sum(($C39:$E39 * $C$3:$E$3))
D40 = Sum(($C39:$E39 * $C$4:$E$4))
E40 = Sum(($C39:$E39 * $C$5:$E$5))
C41 = Sum(($C40:$E40 * $C$3:$E$3))
D41 = Sum(($C40:$E40 * $C$4:$E$4))
E41 = Sum(($C40:$E40 * $C$5:$E$5))
C42 = Sum(($C41:$E41 * $C$3:$E$3))
D42 = Sum(($C41:$E41 * $C$4:$E$4))
E42 = Sum(($C41:$E41 * $C$5:$E$5))
C43 = Sum(($C42:$E42 * $C$3:$E$3))
D43 = Sum(($C42:$E42 * $C$4:$E$4))
E43 = Sum(($C42:$E42 * $C$5:$E$5))
C44 = Sum(($C43:$E43 * $C$3:$E$3))
D44 = Sum(($C43:$E43 * $C$4:$E$4))
E44 = Sum(($C43:$E43 * $C$5:$E$5))
C45 = Sum(($C44:$E44 * $C$3:$E$3))
D45 = Sum(($C44:$E44 * $C$4:$E$4))
E45 = Sum(($C44:$E44 * $C$5:$E$5))
C46 = Sum(($C45:$E45 * $C$3:$E$3))
D46 = Sum(($C45:$E45 * $C$4:$E$4))
E46 = Sum(($C45:$E45 * $C$5:$E$5))
C47 = Sum(($C46:$E46 * $C$3:$E$3))
D47 = Sum(($C46:$E46 * $C$4:$E$4))
E47 = Sum(($C46:$E46 * $C$5:$E$5))
C48 = Sum(($C47:$E47 * $C$3:$E$3))
D48 = Sum(($C47:$E47 * $C$4:$E$4))
E48 = Sum(($C47:$E47 * $C$5:$E$5))
C49 = Sum(($C48:$E48 * $C$3:$E$3))
D49 = Sum(($C48:$E48 * $C$4:$E$4))
E49 = Sum(($C48:$E48 * $C$5:$E$5))
Text1 = LaTeX(mittlereRückkehrzeit, true, true)