$M$

$T$

$\overline{T}$

$\overline{T}$

$T$

$\overline{M}$

Résultats

Calculs intermédiaires

r(x) = (x^(2) * (3 - (2 * x)))
M = (-2.9722167924605425, 2.7983676402102975)
A = (-4.586616574431283, 1.3105874932386454)
f = Segment(A, M)
D = Point(f)
n = Segment(A, D)
g = OrthogonalLine(A, yAxis)
C = (-0.7880288521471873, 3.621394955556318)
h = Segment(M, C)
i = OrthogonalLine(M, yAxis)
C' = Mirror(C, i)
C'_1 = Mirror(C, g)
C'' = Mirror(C', g)
B' = Mirror(M, g)
j = Segment(A, B')
k = Segment(B', C'')
l = Segment(B', C'_1)
p1: r(n / f)
m = Segment(M, C')
text1: "P(M)=" + (LaTeX[p1]) + ""
p1': 1 - p1
text2: "" + p1' + ""
E = Point(h)
F = Point(l)
p = Segment(M, E)
p2: r(p / h)
q = Segment(B', F)
p3: r(q / h)
text4: "P_{\overline M} \left(\, \overline T \,\right )=" + (LaTeX[p3]) + ""
text3: "P_M(T)=" + (LaTeX[p2]) + ""
p2': 1 - p2
p3': 1 - p3
text5: "" + p2' + ""
text6: "" + p3' + ""
PT: (p1 * p2) + (p1' * p3')
PMT: (p1 * p2 / PT)
texte1: "P(M\cap T)=" + (LaTeX[p1]) + "\times" + (LaTeX[p2]) + ""
texte2: "P(\overline{M}\cap \overline{T})=" + (LaTeX[p1']) + " \times " + (LaTeX[p3]) + ""
texte3: "P(M\cap \overline{T})= " + (LaTeX[p1]) + " \times  " + (LaTeX[p2']) + ""
texte4: "P(\overline{M}\cap T)= " + (LaTeX[p1']) + " \times  " + (LaTeX[p3']) + ""
texte5: "\text{La probabilité que le test soit positif est :}\\
P(T)=P(M\cap T)+P(\overline{M}\cap T)\approx" + (LaTeX[PT]) + ""
text7: "\text{La probabilité d'être malade}\\ 
\text{sachant que le test est positif est :}\\
P_T(M)=\frac{P(M\cap T)}{P(T)}\approx" + (LaTeX[PMT]) + ""
a = true
b = true