Rev 6510 | 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 | |||
8514 | 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) |
||
6509 | bpr | 13 | ne contenant pas la substance X. Compléter le tableau des effectifs : |
6510 | bpr | 14 | <table class="wimscenter wimsborder"> |
15 | <tr> |
||
184 | bpr | 16 | <td></td><th>Avec X</th> |
17 | <th>Sans X</th> |
||
18 | </tr> |
||
6510 | bpr | 19 | <tr> |
184 | bpr | 20 | <th>Test positif</th> |
21 | <td>\embed{reply1,5}</td> |
||
22 | <td>\embed{reply2,5}</td> |
||
8514 | bpr | 23 | </tr> |
6510 | bpr | 24 | <tr> |
184 | bpr | 25 | <th>Test négatif</th> |
26 | <td>\embed{reply3,5}</td> |
||
27 | <td>\embed{reply4,5}</td> |
||
8514 | bpr | 28 | </tr> |
6509 | bpr | 29 | </table> |
30 | } |
||
184 | bpr | 31 | \answer{}{\xp}{type=numexp} |
32 | \answer{}{\yp}{type=numexp} |
||
33 | \answer{}{\xm}{type=numexp} |
||
6510 | bpr | 34 | \answer{}{\ym}{type=numexp} |