Subversion Repositories wimsdev

Rev

Rev 7828 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7828 bpr 1
% TOEF 1.0 type1
2
% This file is automatically generated. Do not edit by hand!
3
% Generated by WIMS-Createxo toef-generator.
4
 
5
% {
6
toef_varcnt=11
7
toef_var1=createQCMtype2
8
toef_var2=Joachim YAMEOGO
9
toef_var3=yameogo@math.unice.fr
10
toef_var4=2
11
toef_var5=(\(f(x)=1-\frac{1}{x+1}))¶(\(f(x)=\sin(\frac{\pi}{\pi x+2})))¶(\(f(x)=1-\frac{\ln(x+1)}{x^{3}+1}))¶(\(f(x)=\frac{x}{-x+1}))¶(\(f(x)=1+e^{-x}))
12
toef_var6=(la limite de \(f)   en \(+\infty))¶(la valeur de \(f)   en 0)¶(la pente de la tangente au graphe de \(f) en \((0,f(0))))
13
toef_var7=(1),(0),(1)¶(0),(1),(0)¶(1),(1),(-1)¶(-1),(0),(1)¶(1),(2),(-1)
14
toef_var8=2, 2, 2
15
toef_var9=<table style="background-color:lightblue;width:80%">¶  <tr>¶    <td>¶      On considère la fonction réelle \(f) définie sur \(\RR^{+}) par \obj¶      <p style="background-color:moccasin">¶      Calculer \fonc¶      </p>¶    </td>¶  </tr>¶</table>
16
toef_var10=(1,Utiliser les formules du cours.),(1,Remplacer <em>x</em> par 0 dans la formule.),(1,Calculer \(f'(0)).)¶(0,0),(0,0),(1,Calculer \(f'(0)).)¶(0,0),(0,0),(1,Calculer \(f'(0)).)¶(0,0),(0,0),(1,Calculer \(f'(0)).)¶(0,0),(0,0),(1,Calculer \(f'(0)).)
17
toef_var11=default,default,default
18
!exit
19
% }
20
 
21
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
%%%%%%%%%%%%%%%%% END  OF  TOEF HEADER %%%%%%%%%%%%%%%%%
23
%%%%%%%%%%%%%%%%% The following is OEF %%%%%%%%%%%%%%%%%
24
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25
 
26
## identifiants de l'exercice: titre, auteur et format
27
\title{
28
createQCMtype2
29
}
30
\author{
31
Joachim YAMEOGO
32
}
33
\email{
34
yameogo@math.unice.fr
35
}
36
\langage{fr}
37
\format{html}
38
\computeanswer{yes}
39
\precision{10000}
40
 
41
## type qcm de l'exo
42
\integer{
43
exo=
44
2
45
}
46
 
47
## la liste des objets mathématiques
48
\matrix{
49
obsList=
50
wims(replace internal ? by &#63; in (\(f(x)=1-\frac{1}{x+1}))
51
(\(f(x)=\sin(\frac{\pi}{\pi x+2})))
52
(\(f(x)=1-\frac{\ln(x+1)}{x^{3}+1}))
53
(\(f(x)=\frac{x}{-x+1}))
54
(\(f(x)=1+e^{-x})))
55
}
56
\integer{obsnb=wims(rowcnt \obsList)}
57
 
58
## la liste des fonctions
59
\matrix{
60
foncsList=
61
wims(replace internal ? by &#63; in (la limite de \(f) &nbsp; en \(+\infty))
62
(la valeur de \(f) &nbsp; en 0)
63
(la pente de la tangente au graphe de \(f) en \((0,f(0)))))
64
}
65
\integer{foncsnb=wims(rowcnt \foncsList)}
66
 
67
## liste des bonnes réponses par objet
68
\matrix{
69
foncsrepList=
70
wims(replace internal ? by &#63; in (1),(0),(1)
71
(0),(1),(0)
72
(1),(1),(-1)
73
(-1),(0),(1)
74
(1),(2),(-1))
75
}
76
 
77
## référence pour le type des fonctions
78
\text{
79
foncstypList=
80
2, 2, 2
81
}
82
 
83
## choix aléatoire d'un objet
84
\integer{objn=random(1..\obsnb)}
85
\text{obj=wims(trim \obsList[\objn;])}
86
\text{obj=wims(char 2 to -2 of \obj)}
87
 
88
## choix aléatoire d'une fonction
89
\integer{foncn=random(1..\foncsnb)}
90
\text{fonc=wims(trim \foncsList[\foncn;])}
91
\text{fonc=wims(char 2 to -2 of \fonc)}
92
 
93
## la bonne solution
94
\text{resu=wims(trim \foncsrepList[\objn;\foncn])}
95
\text{resu=wims(char 2 to -2 of \resu)}
96
 
97
\text{rep=<span class="bold" style="color:darkcyan">Valeur trouvée:</span>}
98
 
99
## énoncé saisi en ligne
100
\text{
101
enonceR=
102
<table style="background-color:lightblue;width:80%">
103
  <tr>
104
    <td>
105
      On considère la fonction réelle \(f) définie sur \(\RR^{+}) par \obj
106
      <p style="background-color:moccasin">
107
      Calculer \fonc
108
      </p>
109
    </td>
110
  </tr>
111
</table>
112
}
113
 
114
## toutes les indications
115
\matrix{
116
indicList_fonc=
117
wims(replace internal ? by &#63; in (1,Utiliser les formules du cours.),(1,Remplacer <em>x</em> par 0 dans la formule.),(1,Calculer \(f'(0)).)
118
(0,0),(0,0),(1,Calculer \(f'(0)).)
119
(0,0),(0,0),(1,Calculer \(f'(0)).)
120
(0,0),(0,0),(1,Calculer \(f'(0)).)
121
(0,0),(0,0),(1,Calculer \(f'(0)).))
122
}
123
 
124
## liste des types des fonctions
125
\text{
126
type2f=default,default,default
127
}
128
 
129
\text{stepvar=reply \foncstypList[\foncn]}
130
\nextstep{\stepvar}
131
 
132
## indication pour l'énoncé choisi
133
\text{temp_indic=wims(trim \indicList_fonc[\objn;\foncn])}
134
\text{temp_indic=
135
wims(char 4 to -2 of \temp_indic)
136
}
137
\text{temp_indic=wims(trim \temp_indic)}
138
\integer{comN=wims(charcnt \temp_indic)}
139
 
140
## ici on donne l'énoncé de l'exercice
141
\statement{
142
\enonceR
143
  <table class="wimscenter">
144
    <tr>
145
      <td>
17280 bpr 146
        \rep
7828 bpr 147
      </td>
148
      <td>
149
        \embed{\stepvar}
150
      </td>
151
    </tr>
152
  </table>
153
}
154
 
155
## champ de soumission et analyse de la réponse
156
\answer{\rep}{\resu}{type=default}
157
\answer{\rep}{\resu}{type=default}
158
\answer{\rep}{\resu}{type=default}
159
\answer{\rep}{\resu}{type=default}
160
\answer{\rep}{\resu}{type=set}
161
\answer{\rep}{\resu}{type=fset}
162
\answer{\rep}{\resu}{type=vector}
163
\answer{\rep}{\resu}{type=function}
164
\answer{\rep}{\resu}{type=algexp}
165
\answer{\rep}{\resu}{type=formal}
166
\answer{\rep}{\resu}{type=matrix}
167
 
168
 
169
## indications éventuelles
170
\hint{
17280 bpr 171
  <div style="background-color:moccasin;width:80%">
7828 bpr 172
  \if{\comN>1}{
173
      \temp_indic
174
      }{
175
      <span style="color:magenta">désolé: il n' y a pas d'indication.</span>
176
      }
177
  </div>
17280 bpr 178
}