Date: 5 6 月 2014

Next

Reset

A = (3.990327258749333, 0.7569940418989024)
A_1: A + (1, 2)
A_2: A + (1, (-2))
A_3: A + (4, 3)
A_4: A + (4, 1)
A_5: A + (4, -1)
A_6: A + (4, (-3))
A_7: A + (7, 3.5)
A_8: A + (7, 2.5)
A_9: A + (7, 1.5)
A_0: A + (7, 0.5)
A_a: A + (7, (-0.5))
A_b: A + (7, (-1.5))
A_c: A + (7, (-2.5))
A_d: A + (7, (-3.5))
u = Vector(A, A_1)
v = Vector(A, A_2)
B_4: A_4 + (1.9, 0)
B_6: A_6 + (1.9, 0)
B_2: A_2 + (1.9, 0)
B_1: A_1 + (1.9, 0)
B_3: A_3 + (1.9, 0)
B_5: A_5 + (1.9, 0)
w = Vector(B_1, A_3)
z = Vector(B_1, A_4)
a = Vector(B_2, A_5)
b = Vector(B_2, A_6)
c = Vector(B_3, A_7)
d = Vector(B_3, A_8)
e = Vector(B_4, A_9)
f = Vector(B_4, A_0)
g_3 = Vector(B_5, A_a)
h = Vector(B_5, A_b)
i = Vector(B_6, A_c)
j = Vector(B_6, A_d)
poly1, k, l, m, p = Polygon(A + (1, 2.6), A + (2.8, 2.6), A + (2.8, 1.6), A + (1, 1.6))
poly2, q, r_2, s, t = Polygon(A + (1, (-2.4)), A + (2.8, (-2.4)), A + (2.8, (-1.4)), A + (1, (-1.4)))
poly3, a_1, b_1, c_1, d_1 = Polygon(A + (4, 3.6), A + (5.8, 3.6), A + (5.8, 2.6), A + (4, 2.6))
poly4, e_1, f_1, g_1, h_1 = Polygon(A + (4, 1.6), A + (5.8, 1.6), A + (5.8, 0.6), A + (4, 0.6))
poly5, i_1, j_1, k_1, l_1 = Polygon(A + (4, (-0.4)), A + (5.8, (-0.4)), A + (5.8, (-1.4)), A + (4, (-1.4)))
poly6, m_1, n_1, p_1, q_1 = Polygon(A + (4, (-2.4)), A + (5.8, (-2.4)), A + (5.8, (-3.4)), A + (4, (-3.4)))
poly7, r_1, s_1, t_1, a_2 = Polygon(A + (7, 4.1), A + (8.8, 4.1), A + (8.8, 3.1), A + (7, 3.1))
poly8, b_2, c_2, d_2, e_2 = Polygon(A + (7, 2.1), A + (8.8, 2.1), A + (8.8, 1.1), A + (7, 1.1))
poly9, f_2, g_2, h_2, i_2 = Polygon(A + (7, 0.1), A + (8.8, 0.1), A + (8.8, (-0.9)), A + (7, (-0.9)))
polya, j_2, k_2, l_2, m_2 = Polygon(A + (7, (-1.9)), A + (8.8, (-1.9)), A + (8.8, (-2.9)), A + (7, (-2.9)))
n = 0 (slider from 0 to 16, step 1)
r = 6 (slider from 3 to 9, step 1)
g = 3 (slider from 3 to 9, step 1)
text_Q: "袋中有中獎籤" + (LaTeX[g]) + "支，\;沒中獎籤" + (LaTeX[r]) + "支，\;今甲,乙,丙三人從袋中依序抽一支籤，\;抽出後不放回，\;試求三人抽中有獎籤的機率？"
text1: "甲中：\;\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r]) + "}"
text2: "甲不中：\;\frac{" + (LaTeX[r]) + "}{" + (LaTeX[g + r]) + "}"
text3: "乙中：\;\frac{" + (LaTeX[g - 1]) + "}{" + (LaTeX[g + r - 1]) + "}"
text4: "乙不中：\;\frac{" + (LaTeX[r]) + "}{" + (LaTeX[g + r - 1]) + "}"
text5: "乙中：\;\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r - 1]) + "}"
text6: "乙不中：\;\frac{" + (LaTeX[r - 1]) + "}{" + (LaTeX[g + r - 1]) + "}"
textb: "P(乙)=\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r]) + "}×\frac{" + (LaTeX[g - 1]) + "}{" + (LaTeX[g + r - 1]) + "}+\frac{" + (LaTeX[r]) + "}{" + (LaTeX[g + r]) + "}×\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r - 1]) + "}=" + (LaTeX[SurdText[g / (g + r)]]) + ""
texta: "P(甲)=" + (LaTeX[SurdText[g / (g + r)]]) + ""
text7: "丙中：\;\frac{" + (LaTeX[g - 2]) + "}{" + (LaTeX[g + r - 2]) + "}"
text8: "丙不中：\;\frac{" + (LaTeX[r]) + "}{" + (LaTeX[g + r - 2]) + "}"
text9: "丙中：\;\frac{" + (LaTeX[g - 1]) + "}{" + (LaTeX[g + r - 2]) + "}"
text10: "丙不中：\;\frac{" + (LaTeX[r - 1]) + "}{" + (LaTeX[g + r - 2]) + "}"
text11: "丙中：\;\frac{" + (LaTeX[g - 1]) + "}{" + (LaTeX[g + r - 2]) + "}"
text13: "丙不中：\;\frac{" + (LaTeX[r - 1]) + "}{" + (LaTeX[g + r - 2]) + "}"
text12: "丙中：\;\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r - 2]) + "}"
text14: "丙不中：\;\frac{" + (LaTeX[r - 2]) + "}{" + (LaTeX[g + r - 2]) + "}"
textc: "P(丙)=\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r]) + "}×\frac{" + (LaTeX[g - 1]) + "}{" + (LaTeX[g + r - 1]) + "}×\frac{" + (LaTeX[g - 2]) + "}{" + (LaTeX[g + r - 2]) + "}+\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r]) + "}×\frac{" + (LaTeX[r]) + "}{" + (LaTeX[g + r - 1]) + "}×\frac{" + (LaTeX[g - 1]) + "}{" + (LaTeX[g + r - 2]) + "}
\cr \;\;\;\;\;\;\;\;\;\;+\frac{" + (LaTeX[r]) + "}{" + (LaTeX[g + r]) + "}×\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r - 1]) + "}×\frac{" + (LaTeX[g - 1]) + "}{" + (LaTeX[g + r - 2]) + "}+\frac{" + (LaTeX[r]) + "}{" + (LaTeX[g + r]) + "}×\frac{" + (LaTeX[r - 1]) + "}{" + (LaTeX[g + r - 1]) + "}×\frac{" + (LaTeX[g]) + "}{" + (LaTeX[g + r - 2]) + "}
\cr \;\;\;\;\;\;\;\;\;\;=" + (LaTeX[SurdText[g / (g + r)]]) + ""