Probability
Author: Daniel Mentrard

total

absolue

relative

boules

Couleur

Fréquence

Total

Rouge

Violette

Jaune

Bleu

Verte

Noire

Fréquence

Probabilté

Fréquences

0.04

0.08

0.12

0.16

0.20

0.24

0.28

Fréquences théoriques

Tirage automatique

a = -0.6 (slider from -5 to 5, step 0.1)
b = -4 (slider from -5 to 5, step 0.1)
c = 2.6 (slider from -5 to 5, step 0.2)
d = 3.5 (slider from -5 to 5, step 0.1)
A: (a, c)
B: (c, d)
C: (b, -(a))
D: (b, c)
E = (-6, -6)
F = (6, -6)
poly1, e_1, f_1, h, i, G, H = Polygon(E, F, 4.0)
Vitesse = 6 (slider from 1 to 10, step 1)
k_1 = Circle(C, 1.0)
p = Circle(A, 1.0)
k = 4.2 (slider from -5 to 5, step 0.1)
l = 3.4 (slider from -5 to 5, step 0.1)
K: (k, l)
L: (c, k)
M: (c, b)
N: (b, k)
AA: (d, c)
t = Circle(AA, 1.0)
I: (b, d)
c_1 = Circle(I, 1.0)
d_1 = Circle(M, 1.0)
J: (-(d), -(c))
g_1 = Circle(J, 1.0)
n = 936 (slider from 0 to 1000, step 1)
D3 = 0.16666666666666666
D4 = 0.166666666666667
D5 = 0.166666666666667
D6 = 0.166666666666667
D7 = 0.166666666666667
D8 = 0.166666666666667
liste1 = Sequence(Random[1.0, 6.0], i, 1.0, 1000.0)
Tirage = First(liste1, n)
B3 = CountIf(x ≟ 1.0, Tirage)
B4 = CountIf(x ≟ 2.0, Tirage)
B5 = CountIf(x ≟ 3.0, Tirage)
B6 = CountIf(x ≟ 4.0, Tirage)
B7 = CountIf(x ≟ 5.0, Tirage)
B8 = CountIf(x ≟ 6.0, Tirage)
C3: B3 / n
C4: B4 / n
C5: B5 / n
C6: B6 / n
C7: B7 / n
C8: B8 / n
B9: n
C10 = 0
dd = Element(liste1, n)
O = (-0.08626405319999485, 7.854394727799993)
e = Circle(O, 1.0)
f = Circle(O, 1.0)
g = Circle(O, 1.0)
q = Circle(O, 1.0)
r = Circle(O, 1.0)
s = Circle(O, 1.0)
P = Point(h)
Q = Point(h)
j = Segment(P, Q)
R = (9, -6)
S = (29, -6)
m = Segment(R, S)
T = (9, 10)
a_1 = Segment(R, T)
U = Point(m)
V = Point(m)
W = Point(m)
Z = Point(m)
A_1 = Point(m)
B_1 = Point(m)
C_1 = Point(m)
D_1 = Point(m)
E_1 = Point(m)
F_1 = Point(m)
I_1: V + (0.0, 50.0 * C3)
G_1: U + (0.0, 50.0 * C3)
J_1: W + (0.0, 50.0 * C4)
K_1: Z + (0.0, 50.0 * C4)
L_1: A_1 + (0.0, 50.0 * C5)
M_1: B_1 + (0.0, 50.0 * C5)
N_1: C_1 + (0.0, 50.0 * C6)
O_1: D_1 + (0.0, 50.0 * C6)
poly2, u, v, i_1, g_2 = Polygon(U, V, I_1, G_1)
poly3, w, j_1, k_2, z = Polygon(W, J_1, K_1, Z)
poly4, a_2, b_1, m_1, l_1 = Polygon(A_1, B_1, M_1, L_1)
poly5, n_1, o_1, d_2, c_2 = Polygon(N_1, O_1, D_1, C_1)
P_1 = Point(m)
Q_1 = Point(m)
R_1: E_1 + (0.0, 50.0 * C7)
S_1: F_1 + (0.0, 50.0 * C7)
poly6, e_2, f_2, s_1, r_1 = Polygon(E_1, F_1, S_1, R_1)
T_1: P_1 + (0.0, 50.0 * C8)
U_1: Q_1 + (0.0, 50.0 * C8)
poly7, p_1, q_1, u_1, t_1 = Polygon(P_1, Q_1, U_1, T_1)
H_1 = Point(a_1)
V_1 = Point(a_1)
W_1 = Point(a_1)
Z_1 = Point(a_1)
A_2 = Point(a_1)
B_2 = Point(a_1)
C_2 = Point(a_1)
v_1 = Vector(R, T)
D_2: P_1 + (0.0, 50.0 * D8)
E_2: Q_1 + (0.0, 50.0 * C8)
F_2: Q_1 + (0.0, 50.0 * D8)
G_2: F_1 + (0.0, 50.0 * D7)
H_2: E_1 + (0.0, 50.0 * D7)
poly8, p_2, d_3, f_3, q_2 = Polygon(P_1, D_2, F_2, Q_1)
poly9, h_2, g_3, f_4, e_3 = Polygon(H_2, G_2, F_1, E_1)
I_2: D_1 + (0.0, 50.0 * D6)
J_2: C_1 + (0.0, 50.0 * D6)
K_2: B_1 + (0.0, 50.0 * D6)
L_2: A_1 + (0.0, 50.0 * D6)
M_2: Z + (0.0, 50.0 * D6)
N_2: W + (0.0, 50.0 * D6)
O_2: V + (0.0, 50.0 * D6)
P_2: U + (0.0, 50.0 * D6)
poly10, j_2, i_2, d_4, c_3 = Polygon(J_2, I_2, D_1, C_1)
poly11, l_2, k_3, b_2, a_3 = Polygon(L_2, K_2, B_1, A_1)
poly12, n_2, m_2, z_1, w_1 = Polygon(N_2, M_2, Z, W)
poly13, p_3, o_2, v_2, u_2 = Polygon(P_2, O_2, V, U)
o = false
texte9: "Tirage n°" + n
Q_2 = (11, -8)
h_1 = Circle(Q_2, 1.0)
R_2 = (14, -8)
r_2 = Circle(R_2, 1.0)
S_2 = (17.179369452800003, -7.969188124200006)
s_2 = Circle(S_2, 1.0)
T_2 = (20, -8)
t_2 = Circle(T_2, 1.0)
U_2 = (23.1424437788, -7.969188124200006)
h_3 = Circle(U_2, 1.0)
V_2 = (26, -8)
q_3 = Circle(V_2, 1.0)
w_2 = true
W_2 = (-1.799804270009753, 6.769006832785362)
Z_2 = (1.4208072103804912, 6.5849718910487764)