Rev 8514 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8514 | Rev 8525 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | \text{rep = wims(values x^2 for x = \m to \n+\m)} |
4 | \text{rep = wims(values x^2 for x = \m to \n+\m)} |
5 | \text{ |
5 | \text{thpres = wims(makelist \(x^2\) for x = \m to \n+\m-1)} |
6 | \text{ETAPE = wims(makelist r x for x = 1 to \n)} |
6 | \text{ETAPE = wims(makelist r x for x = 1 to \n)} |
7 | \steps{\ETAPE} |
7 | \steps{\ETAPE} |
8 | 8 | ||
9 | \statement{Calculer les carrés des entiers à partir |
9 | \statement{Calculer les carrés des entiers à partir |
10 | de \m : |
10 | de \m : |
11 | <table class="wimscenter wimsborder"> |
11 | <table class="wimscenter wimsborder"> |
12 | <tr>\for{u = 1 to \n}{<th> |
12 | <tr>\for{u = 1 to \n}{<th>\thpres[\u]</th>}</tr> |
13 | <tr>\for{u = 1 to \n}{<td>\embed{r \u, 5} </td>}</tr> |
13 | <tr>\for{u = 1 to \n}{<td>\embed{r \u, 5} </td>}</tr> |
14 | </table> |
14 | </table> |
15 | } |
15 | } |
16 | 16 | ||
17 | \answer{ |
17 | \answer{\thpres[1]}{\rep[1]}{type=numeric} |
18 | \answer{ |
18 | \answer{\thpres[2]}{\rep[2]}{type=numeric} |
19 | \answer{ |
19 | \answer{\thpres[3]}{\rep[3]}{type=numeric} |
20 | \answer{ |
20 | \answer{\thpres[4]}{\rep[4]}{type=numeric} |
21 | \answer{ |
21 | \answer{\thpres[5]}{\rep[5]}{type=numeric} |
22 | \answer{ |
22 | \answer{\thpres[6]}{\rep[6]}{type=numeric} |
- | 23 |