Subversion Repositories wimsdev

Rev

Rev 184 | Rev 6510 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6509 bpr 1
\title{Propriétés d'un test sanguin}
184 bpr 2
\integer{n = randint(10..100)}
6509 bpr 3
\integer{x = randint(5..(\n - 1))}
184 bpr 4
\integer{y = \n-\x}
5
\integer{xp = randint(1..\x)}
6
\integer{ym = randint(1..\y)}
7
\integer{xm = \x-\xp}
8
\integer{yp = \y-\ym}
9
 
6509 bpr 10
\statement{On a fait un test sur \n échantillons de sang dont \x contenaient 
11
une substance interdite X. Le test s'est révélé positif pour \xp échantillon(s) 
12
contenant la substance X et le test s'est révélé négatif pour \ym échantillon(s) 
13
ne contenant pas la substance X. Compléter le tableau des effectifs :
14
<table align="center" border=1 width="30%" bgcolor="antiquewhite">
184 bpr 15
   <tr align="center">
16
     <td></td><th>Avec X</th>
17
     <th>Sans X</th>
18
   </tr>
19
   <tr align="center">
20
     <th>Test positif</th>
21
     <td>\embed{reply1,5}</td>
22
     <td>\embed{reply2,5}</td>
23
   </tr> 
24
   <tr align="center">
25
     <th>Test négatif</th>
26
     <td>\embed{reply3,5}</td>
27
     <td>\embed{reply4,5}</td>
28
   </tr> 
6509 bpr 29
 </table>
30
 }
184 bpr 31
\answer{}{\xp}{type=numexp}
32
\answer{}{\yp}{type=numexp}
33
\answer{}{\xm}{type=numexp}
6509 bpr 34
\answer{}{\ym}{type=numexp}