Rev 8514 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6509 | bpr | 1 | \title{Carré un par un} |
2 | \integer{n = randint(4..6)} |
||
3 | \integer{m = randint(3..4)} |
||
4 | \text{question = wims(values x for x = \m to \n + \m)} |
||
8525 | bpr | 5 | \text{thpres = wims(makelist \(x^2\) for x = \m to \n+\m-1)} |
6509 | bpr | 6 | \text{rep = wims(values x^2 for x = \m to \n + \m)} |
7 | \text{ETAPE = wims(makelist r x for x = 1 to \n)} |
||
8 | \text{ETAPE = wims(replace internal , by ; in \ETAPE)} |
||
9 | \steps{\ETAPE} |
||
184 | bpr | 10 | |
8514 | bpr | 11 | \statement{Calculer le carré de \question[\step] : |
12 | <div style="text-align:center;">\embed{r \step, 5} </div> |
||
184 | bpr | 13 | } |
14 | |||
8525 | bpr | 15 | \answer{\thpres[1]}{\rep[1]}{type=numeric} |
16 | \answer{\thpres[2]}{\rep[2]}{type=numeric} |
||
17 | \answer{\thpres[3]}{\rep[3]}{type=numeric} |
||
18 | \answer{\thpres[4]}{\rep[4]}{type=numeric} |
||
19 | \answer{\thpres[5]}{\rep[5]}{type=numeric} |
||
20 | \answer{\thpres[6]}{\rep[6]}{type=numeric} |