%% This file is generated by preprocessor!
%% Do not edit it by hand.
%% Edit the source file cpp/miss.cpp.

\language{fr}
\author{Gang XIAO}
\email{xiao@unice.fr}
\computeanswer{no}
\format{html}
\precision{10000}


 \title{Dénominateur manquant}
 \text{name=dénominateur}
 \text{fill=random(2,4)}
\text{mulist=1,2,3,4,5,6,8,10}

\integer{mucnt=items(\mulist)}
\text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3,
1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6}
\text{all=}
\for{f in \data}{
 \text{ff=wims(translate / to , in \f)}
 \text{nums=wims(values \ff[1]*x for x in \mulist)}
 \text{dens=wims(values \ff[2]*x for x in \mulist)}
 \text{this=}
 \for{F=1 to \mucnt}{
  \text{this=wims(append item \nums[\F]/\dens[\F] to \this)}
 }
 \matrix{all=\all
shuffle(\this)}
}
\text{data=randomrow(\all)}
\text{f1=wims(translate internal / to , in \data[1])}
\text{f2=wims(translate internal / to , in \data[2])}
\text{rep=item(\fill,\f1,\f2)}
\text{hr=<HR noshade size=2>}
\text{fw=60}
\text{big1=<font size=+2>}
\text{big2=</font>}
\text{size=2}
\statement{Remplissez le \name ci-dessous pour établir l'égalité&nbsp;:
<p><center><table border=0>
<tr>
<td align=center>\big1
\if{\fill=1}{\embed{reply 1,\size}}{\f1[1]}\big2</td>
<td align=center rowspan=3>\big1&nbsp;&nbsp;=&nbsp;&nbsp;\big2</td>
<td align=center>\big1
\if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2</td>
</tr><tr>
<td align=center width=\fw>\hr</td>
<td align=center width=\fw>\hr</td>
</tr><tr>
<td align=center>\big1
\if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2</td>
<td align=center>\big1
\if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2</td>

</tr></table></center>
}
\answer{Le \name}{\rep}{type=numeric}
