Refonte de la documentation. Ajout d'une option de coloriage en z dans les surfaces...
[mp-solid.git] / doc / Christ5.tex
1 %=========================================
2 %Macros personnelles
3 %christophe.poulain@melusine.eu.org
4 %création : 25 Septembre 1999
5 %dernière modification : 28 Avril 2005
6 %=========================================
7
8 \RequirePackage{xlop,fancybox,color,ifthen,amssymb}
9 \input{xlopsqrt}
10 \newtheorem{ppte}{Propri\'et\'e}
11 \newtheorem{theo}{Th\'eor\`eme}
12 \newtheorem{defi}{D\'efinition}
13 \newtheorem{lemme}{Lemme}
14 \newtheorem{coro}{Corollaire}
15 \newtheorem{prop}{Proposition}
16 \newtheorem{reg}{R\`egle}
17 \newtheorem{conj}{Conjecture}
18 \newtheorem{remar}{Remarque}
19 \newtheorem{exem}{Exemple}
20
21 \newcommand{\rema}{\underline{Remarque} }
22 \newcommand{\exe}{\underline{Exemple} }
23 \newcommand{\pre}{\underline{Preuve}}
24 \newcommand{\cas}{\underline{Cas particulier}}
25 \newcommand{\cass}{\underline{Cas particuliers}}
26 \newcommand{\Not}{\underline{Notation} }
27 \newcommand{\Si}{\underline{Si} }
28 \newcommand{\si}{\underline{si} }
29 \newcommand{\alors}{\underline{alors} }
30 \newcommand{\cons}{\underline{Conséquence}}
31 \newcommand{\Comme}{\underline{Comme} }
32 \newcommand{\comme}{\underline{comme} }
33
34 \def\qed{\hfill\raise -2pt\hbox{\vrule\vbox to 10pt{\hrule width4pt\vfill\hrule}\vrule}}
35 \def\cqfd{\hfill\unskip\kern 6pt\penalty 500\qed\par}
36
37 \catcode`\@=11
38 \def\Eqalign#1{\null\,\vcenter{\openup\jot\m@th\ialign{
39 \strut\hfil$\displaystyle{##}$&$\displaystyle{{}##}$\hfil
40 &&\quad\strut\hfil$\displaystyle{##}$&$\displaystyle{{}##}$
41 \hfil\crcr #1\crcr}}\,}
42 \catcode`\@=12
43
44 \newcommand{\vecteur}[1]
45 {\overrightarrow{\strut #1}}
46
47 \font\tenbb=msbm10
48 \font\sevenbb=msbm7
49 \font\fivebb=msbm5
50 \newfam\bbfam
51 \textfont\bbfam=\tenbb
52 \scriptfont\bbfam=\sevenbb
53 \scriptscriptfont\bbfam=\fivebb
54 \def\bb{\fam\bbfam\tenbb}
55 \let\oldbb=\bb
56 \def\bb #1{{\oldbb #1}}
57
58 \def\tvi{\vrule height 12pt depth 5pt width 0pt}
59 \def\tvj{\vrule height 12pt depth 5pt width 1pt}
60 \def\hfq{\hfill\,\,}
61 \def\cc#1{\hfq #1\hfq}
62 \def\tv{\tvi\vrule}
63 \def\tw{\tvj\vrule}
64 \def\traithorizontal{\noalign{\hrule}}
65 \def\traithorizontale{\noalign{\hrule height 1pt}}
66
67 \newcommand{\encadre}[1]
68 {\begin{center}
69 \fbox{\begin{minipage}{\linewidth}
70 {#1}
71 \end{minipage}}
72 \end{center}
73 }
74
75 \def\pgcd{\mathop{\rm PGCD}\nolimits}
76 \def\ppcm{\mathop{\rm PPCM}\nolimits}
77
78 \def\cut{{}\hfill\cr \hfill{}}
79
80 \newcommand{\biindice}[3]%
81 {
82 \renewcommand{\arraystretch}{0.5}
83 \begin{array}[t]{c}
84 #1\\
85 {\scriptstyle #2}\\
86 {\scriptstyle #3}
87 \end{array}
88 \renewcommand{\arraystretch}{1}
89 }
90
91 \newlength{\ltxt}
92 \newcommand{\compo}[4]{
93 \setlength{\ltxt}{\linewidth}
94 \setbox#1=\hbox{\includegraphics[scale=#3]{#2.#1}}
95 \addtolength{\ltxt}{-\wd#1}
96 \addtolength{\ltxt}{-10pt}
97 \begin{minipage}{\wd#1}
98 \includegraphics[scale=#3]{#2.#1}
99 \end{minipage}
100 \hfill
101 \begin{minipage}{\ltxt}
102 #4
103 \end{minipage}
104 }
105
106 \newlength{\lntxt}
107 \newcommand{\Compo}[4]{
108 \setlength{\lntxt}{\linewidth}
109 \setbox#1=\hbox{\includegraphics[scale=#3]{#2}}
110 \addtolength{\lntxt}{-\wd#1}
111 \addtolength{\lntxt}{-10pt}
112 \begin{minipage}{\wd#1}
113 \includegraphics[scale=#3]{#2}
114 \end{minipage}
115 \hfill
116 \begin{minipage}{\lntxt}
117 #4
118 \end{minipage}
119 }
120
121 \newcommand{\Compog}[4]{
122 \setlength{\lntxt}{\linewidth}
123 \setbox#1=\hbox{\includegraphics[scale=#3]{#2}}
124 \addtolength{\lntxt}{-\wd#1}
125 \addtolength{\lntxt}{-10pt}
126 \begin{minipage}{\lntxt}
127 #4
128 \end{minipage}
129 \hfill
130 \begin{minipage}{\wd#1}
131 \includegraphics[scale=#3]{#2}
132 \end{minipage}
133 }
134
135 \newlength{\ecart}
136 \setlength{\ecart}{-20pt}
137
138 \newcommand{\compog}[4]{%
139 \setlength{\ltxt}{\linewidth}
140 \setbox#1=\hbox{\includegraphics[scale=#3]{#2.#1}}
141 \addtolength{\ltxt}{-\wd#1}
142 \addtolength{\ltxt}{\ecart}
143 \begin{minipage}{\ltxt}
144 #4
145 \end{minipage}
146 \hfill
147 \begin{minipage}{\wd#1}
148 \includegraphics[scale=#3]{#2.#1}
149 \end{minipage}
150 }
151
152 \newlength{\appui}
153 \setlength{\appui}{-20pt}
154
155 \newlength{\lnttxt}
156 \newcommand{\dispo}[3]{
157 \setlength{\lnttxt}{\linewidth}
158 \setbox#1=\hbox{#2}
159 \addtolength{\lnttxt}{-\wd#1}
160 \addtolength{\lnttxt}{\appui}
161 \begin{minipage}{\wd#1}
162 #2
163 \end{minipage}
164 \hfill
165 \begin{minipage}{\lnttxt}
166 #3
167 \end{minipage}
168 }
169
170 \newcommand{\dispog}[3]{
171 \setlength{\lnttxt}{\linewidth}
172 \setbox#1=\hbox{#2}
173 \addtolength{\lnttxt}{-\wd#1}
174 \addtolength{\lnttxt}{\appui}
175 \begin{minipage}{\lnttxt}
176 #3
177 \end{minipage}
178 \hfill
179 \begin{minipage}{\wd#1}
180 #2
181 \end{minipage}
182 }
183
184 \newcounter{num}[section]
185 \newcommand{\exo}{\addtocounter{num}{1}
186 \par\underline{\bf Exercice~\thenum} }
187
188 \newcommand{\titrage}[2]{
189 {\Large #1}\hfill#2
190 \par\rule[+6pt]{\linewidth}{0.5mm}
191 \par
192 }
193
194 \newcommand{\titragedossier}[1]{
195 {\small #1}\hfill{\small www.melusine.eu.org/syracuse/poulecl/}
196 \par\rule[+6pt]{\linewidth}{0.5mm}
197 \par
198 }
199
200 \newcommand{\partie}[2]{
201 \begin{center}
202 \begin{minipage}{#1pt}
203 \begin{center}
204 \boxput*(0,0){\colorbox{white}{#2}}
205 {\rule{\linewidth}{0.5mm}}
206 \end{center}
207 \end{minipage}
208 \end{center}
209 \par
210 }
211
212 \newenvironment{myenumerate}{
213 \renewcommand{\theenumi}{\arabic{enumi}}
214 \def\labelenumi{{\bf \theenumi /}}
215 \begin{enumerate}}{\end{enumerate}}
216
217 \newenvironment{Myenumerate}{
218 \renewcommand{\theenumi}{\arabic{enumi}}
219 \def\labelenumi{$\rhd${\bf \theenumi /}}
220 \begin{enumerate}}{\end{enumerate}}
221
222 \newenvironment{Enumerate}{
223 \renewcommand{\theenumi}{\arabic{enumi}}
224 \def\labelenumi{\textbf{\theenumi.}$\blacktriangleright$}
225 \begin{enumerate}}{\end{enumerate}}
226
227 \newdimen\shadeshift\shadeshift=1pt
228 \def\shadedtext#1{{\setbox0=\hbox{#1}\leavevmode
229 \vtop to 0pt{\rlap{\special{color push rgb 0.75 0.75 0.75}%
230 \kern0.1em\lower0.1em\copy0
231 \special{color pop}}\vss}\box0}}%
232 \long\def\shadedparagraph#1\par{{\setbox0=\vbox{\hsize=\hsize#1}%
233 \noindent\leavevmode
234 \vtop to 0pt{\rlap{\special{color push rgb 0.75 0.75 0.75}%
235 \kern0.1em\lower0.1em\copy0
236 \special{color pop}}\vss}\box0\par}}%
237
238 \newboolean{exact}
239 \setboolean{exact}{true}
240 \newboolean{racine}
241 \setboolean{racine}{false}
242
243 \opcopy{2}{pres}
244
245 \newcommand{\pythahypo}[5]{%
246 \opset{decimalsepsymbol={,}}%
247 \opcopy{#4}{A1}%
248 \opcopy{#5}{A2}%
249 Dans le triangle $#1#2#3$ rectangle en $#2$, le th\'eor\`eme de Pythagore permet d'\'ecrire :%
250 \[\Eqalign{
251 #1#3^2&=#1#2^2+#2#3^2\cr
252 #1#3^2&=\opprint{A1}^2+\opprint{A2}^2\cr
253 #1#3^2&=\opmul*{A1}{A1}{a1}\opprint{a1}+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
254 #1#3^2&=\opadd*{a1}{a2}{a3}\opprint{a3}\cr
255 #1#3&=\sqrt{\opprint{a3}}\cr
256 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#3&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#3&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
257 \opprint{a4}}}\cr
258 }\]
259 }
260
261 \newcommand{\egapythahypo}[5]{%
262 \opset{decimalsepsymbol={,}}%
263 \opcopy{#4}{A1}%
264 \opcopy{#5}{A2}%
265 Comme le triangle $#1#2#3$ est rectangle en $#2$, alors l'égalité de
266 Pythagore est vérifiée :
267 \[\Eqalign{
268 #1#3^2&=#1#2^2+#2#3^2\cr
269 #1#3^2&=\opprint{A1}^2+\opprint{A2}^2\cr
270 #1#3^2&=\opmul*{A1}{A1}{a1}\opprint{a1}+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
271 #1#3^2&=\opadd*{a1}{a2}{a3}\opprint{a3}\cr
272 #1#3&=\sqrt{\opprint{a3}}\cr
273 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#3&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#3&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
274 \opprint{a4}}}\cr
275 }\]
276 }
277
278 \newcommand{\egapythahyposansrac}[5]{%
279 \opset{decimalsepsymbol={,}}%
280 \opcopy{#4}{A1}%
281 \opcopy{#5}{A2}%
282 Comme le triangle $#1#2#3$ est rectangle en $#2$, alors l'égalité de
283 Pythagore est vérifiée :
284 \[\Eqalign{
285 #1#3^2&=#1#2^2+#2#3^2\cr
286 #1#3^2&=\opprint{A1}^2+\opprint{A2}^2\cr
287 #1#3^2&=\opmul*{A1}{A1}{a1}\opprint{a1}+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
288 #1#3^2&=\opadd*{a1}{a2}{a3}\opprint{a3}\cr
289 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#3&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#3&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
290 \opprint{a4}}}\cr
291 }\]
292 }
293
294 \newcommand{\egapythahyposansracd}[5]{%
295 \opset{decimalsepsymbol={,}}%
296 \opcopy{#4}{A1}%
297 \opcopy{#5}{A2}%
298 Le triangle $#1#2#3$ est rectangle en $#2$ donc l'égalité de
299 Pythagore est vérifiée :
300 \[\Eqalign{
301 #1#3^2&=#1#2^2+#2#3^2\cr
302 #1#3^2&=\opprint{A1}^2+\opprint{A2}^2\cr
303 #1#3^2&=\opmul*{A1}{A1}{a1}\opprint{a1}+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
304 #1#3^2&=\opadd*{a1}{a2}{a3}\opprint{a3}\cr
305 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#3&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#3&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
306 \opprint{a4}}}\cr
307 }\]
308 }
309
310 \newcommand{\egapythahypod}[5]{%
311 \opset{decimalsepsymbol={,}}%
312 \opcopy{#4}{A1}%
313 \opcopy{#5}{A2}%
314 Le triangle $#1#2#3$ est rectangle en $#2$ donc l'égalité de
315 Pythagore est vérifiée :
316 \[\Eqalign{
317 #1#3^2&=#1#2^2+#2#3^2\cr
318 #1#3^2&=\opprint{A1}^2+\opprint{A2}^2\cr
319 #1#3^2&=\opmul*{A1}{A1}{a1}\opprint{a1}+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
320 #1#3^2&=\opadd*{a1}{a2}{a3}\opprint{a3}\cr
321 #1#3&=\sqrt{\opprint{a3}}\cr
322 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#3&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#3&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
323 \opprint{a4}}}\cr
324 }\]
325 }
326
327 \newcommand{\pythadroit}[5]{
328 \opset{decimalsepsymbol={,}}
329 \opcopy{#4}{A1}
330 \opcopy{#5}{A2}
331 Dans le triangle $#1#2#3$ rectangle en $#2$, le théorème de Pythagore permet d'écrire :
332 \[\Eqalign{
333 #1#3^2&=#1#2^2+#2#3^2\cr
334 \opprint{A1}^2&=#1#2^2+\opprint{A2}^2\cr
335 \opmul*{A1}{A1}{a1}\opprint{a1}&=#1#2^2+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
336 #1#2^2&=\opmul*{A1}{A1}{a1}\opprint{a1}-\opmul*{A2}{A2}{a2}\opprint{a2}\cr
337 #1#2^2&=\opsub*{a1}{a2}{a3}\opprint{a3}\cr
338 #1#2&=\sqrt{\opprint{a3}}\cr
339 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#2&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#2&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
340 \opprint{a4}}}\cr
341 }\]
342 }
343
344 \newcommand{\egapythadroit}[5]{%
345 \opset{decimalsepsymbol={,}}%
346 \opcopy{#4}{A1}%
347 \opcopy{#5}{A2}%
348 Comme le triangle $#1#2#3$ est rectangle en $#2$, alors l'égalité de %
349 Pythagore est vérifiée :%
350 \[\Eqalign{
351 #1#3^2&=#1#2^2+#2#3^2\cr
352 \opprint{A1}^2&=#1#2^2+\opprint{A2}^2\cr
353 \opmul*{A1}{A1}{a1}\opprint{a1}&=#1#2^2+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
354 #1#2^2&=\opmul*{A1}{A1}{a1}\opprint{a1}-\opmul*{A2}{A2}{a2}\opprint{a2}\cr
355 #1#2^2&=\opsub*{a1}{a2}{a3}\opprint{a3}\cr
356 #1#2&=\sqrt{\opprint{a3}}\cr
357 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#2&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#2&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
358 \opprint{a4}}}\cr
359 }\]
360 }
361
362 \newcommand{\egapythadroitsansrac}[5]{%
363 \opset{decimalsepsymbol={,}}%
364 \opcopy{#4}{A1}%
365 \opcopy{#5}{A2}%
366 Comme le triangle $#1#2#3$ est rectangle en $#2$ alors l'égalité de %
367 Pythagore est vérifiée :%
368 \[\Eqalign{
369 #1#3^2&=#1#2^2+#2#3^2\cr
370 \opprint{A1}^2&=#1#2^2+\opprint{A2}^2\cr
371 \opmul*{A1}{A1}{a1}\opprint{a1}&=#1#2^2+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
372 #1#2^2&=\opmul*{A1}{A1}{a1}\opprint{a1}-\opmul*{A2}{A2}{a2}\opprint{a2}\cr
373 #1#2^2&=\opsub*{a1}{a2}{a3}\opprint{a3}\cr
374 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#2&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#2&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
375 \opprint{a4}}}\cr
376 }\]
377 }
378
379 \newcommand{\egapythadroitd}[5]{%
380 \opset{decimalsepsymbol={,}}%
381 \opcopy{#4}{A1}%
382 \opcopy{#5}{A2}%
383 Le triangle $#1#2#3$ est rectangle en $#2$ donc l'égalité de %
384 Pythagore est vérifiée :
385 \[\Eqalign{
386 #1#3^2&=#1#2^2+#2#3^2\cr
387 \opprint{A1}^2&=#1#2^2+\opprint{A2}^2\cr
388 \opmul*{A1}{A1}{a1}\opprint{a1}&=#1#2^2+\opmul*{A2}{A2}{a2}\opprint{a2}\cr
389 #1#2^2&=\opmul*{A1}{A1}{a1}\opprint{a1}-\opmul*{A2}{A2}{a2}\opprint{a2}\cr
390 #1#2^2&=\opsub*{a1}{a2}{a3}\opprint{a3}\cr
391 #1#2&=\sqrt{\opprint{a3}}\cr
392 \ifthenelse{\boolean{racine}}{}{\ifthenelse{\boolean{exact}}{#1#2&=\opsqrt[maxdivstep=3]{a3}{a4}\opunzero{a4}\opprint{a4}}{#1#2&\approx\opsqrt[maxdivstep=3]{a3}{a4}\opround{a4}{pres}{a4}\opunzero{a4}
393 \opprint{a4}}}\cr
394 }\]
395 }
396
397 \newcommand{\Recipytha}[6]{
398 \opset{decimalsepsymbol={,}}
399 \opcopy{#4}{A1}
400 \opcopy{#5}{A2}
401 \opcopy{#6}{A3}
402 Dans le triangle $#1#2#3$, $[#1#3]$ est le plus grand côté.
403 \[\left.
404 \begin{array}{l}
405 #1#3^2=\opprint{A1}^2=\opmul*{A1}{A1}{a1}\opprint{a1}\cr
406 #1#2^2+#2#3^2=\opprint{A2}^2+\opprint{A3}^2=\opmul*{A2}{A2}{a2}\opprint{a2}+\opmul*{A3}{A3}{a3}\opprint{a3}=\opadd*{a2}{a3}{a4}\opprint{a4}\cr
407 \end{array}
408 \right\}#1#3^2=#1#2^2+#2#3^2
409 \]
410 Comme $#1#3^2=#1#2^2+#2#3^2$ alors le triangle $#1#2#3$ est rectangle
411 en $#2$ d'après la réciproque du théorème de Pythagore.}
412
413 \newcommand{\Reciegapytha}[6]{
414 \opset{decimalsepsymbol={,}}
415 \opcopy{#4}{A1}
416 \opcopy{#5}{A2}
417 \opcopy{#6}{A3}
418 Dans le triangle $#1#2#3$, $[#1#3]$ est le plus grand côté.
419 \[\left.
420 \begin{array}{l}
421 #1#3^2=\opprint{A1}^2=\opmul*{A1}{A1}{a1}\opprint{a1}\cr
422 #1#2^2+#2#3^2=\opprint{A2}^2+\opprint{A3}^2=\opmul*{A2}{A2}{a2}\opprint{a2}+\opmul*{A3}{A3}{a3}\opprint{a3}=\opadd*{a2}{a3}{a4}\opprint{a4}\cr
423 \end{array}
424 \right\}#1#3^2=#1#2^2+#2#3^2
425 \]
426 L'égalité de Pythagore est vérifiée donc le triangle $#1#2#3$ est rectangle en $#2$.}
427
428 \newcommand{\Recipythacol}[6]{
429 \opset{decimalsepsymbol={,}}
430 \opcopy{#4}{A1}
431 \opcopy{#5}{A2}
432 \opcopy{#6}{A3}
433 Dans le triangle $#1#2#3$, $[#1#3]$ est le plus grand côté.
434 \[\Eqalign{
435 #1#3^2&\kern0.15\linewidth&#1#2^2+#2#3^2\cr
436 \opprint{A1}^2&&\opprint{A2}^2+\opprint{A3}^2\cr
437 \opmul*{A1}{A1}{a1}\opprint{a1}&&\opmul*{A2}{A2}{a2}\opprint{a2}+\opmul*{A3}{A3}{a3}\opprint{a3}\cr
438 &&\opadd*{a2}{a3}{a4}\opprint{a4}\cr
439 }\]
440 Comme $#1#3^2=#1#2^2+#2#3^2$ alors le triangle $#1#2#3$ est rectangle
441 en $#2$ d'après la réciproque du théorème de Pythagore.}
442
443 \newcommand{\Reciegapythacol}[6]{
444 \opset{decimalsepsymbol={,}}
445 \opcopy{#4}{A1}
446 \opcopy{#5}{A2}
447 \opcopy{#6}{A3}
448 Dans le triangle $#1#2#3$, $[#1#3]$ est le plus grand côté.
449 \[\Eqalign{
450 #1#3^2&\kern0.15\linewidth&#1#2^2+#2#3^2\cr
451 \opprint{A1}^2&&\opprint{A2}^2+\opprint{A3}^2\cr
452 \opmul*{A1}{A1}{a1}\opprint{a1}&&\opmul*{A2}{A2}{a2}\opprint{a2}+\opmul*{A3}{A3}{a3}\opprint{a3}\cr
453 &&\opadd*{a2}{a3}{a4}\opprint{a4}\cr
454 }\]
455 Comme l'égalité de Pythagore est vérifiée alors le triangle $#1#2#3$ est rectangle en $#2$.}
456
457 \newcommand{\Thales}[5]{%
458 Dans le triangle $#1#2#3$, $#4$ est un point de la
459 droite $(#1#2)$, $#5$ est un point de la droite
460 $(#1#3)$ ; les droites $(#4#5)$ et $(#2#3)$ sont parallèles.
461 Le théorème de Thalès permet d'écrire :
462 \[\frac{#1#4}{#1#2}=\frac{#1#5}{#1#3}=\frac{#4#5}{#2#3}\]%
463 }
464
465 \newcommand{\Thalesd}[5]{%
466 Dans le triangle $#1#2#3$, $#4$ appartient à la
467 droite $(#1#2)$, $#5$ appartient à la droite
468 $(#1#3)$. Comme les droites $(#4#5)$ et $(#2#3)$ sont parallèles
469 alors le théorème de Thalès permet d'écrire :
470 \[\frac{#1#4}{#1#2}=\frac{#1#5}{#1#3}=\frac{#4#5}{#2#3}\]%
471 }
472
473 \newcommand{\Thalesa}[5]{%
474 Dans le triangle $#1#2#3$, $#4$ appartient à la
475 droite $(#1#2)$, $#5$ appartient à la droite
476 $(#1#3)$ ; les droites $(#4#5)$ et $(#2#3)$ sont parallèles.
477 Le théorème de Thalès permet d'écrire :
478 \[\frac{#1#4}{#1#2}=\frac{#1#5}{#1#3}=\frac{#4#5}{#2#3}\]%
479 }
480
481 \newcommand{\Thalesf}[5]{
482 Dans le triangle $#1#2#3$, $#4$ est un point du
483 segment $[#1#2]$, $#5$ est un point du segment
484 $[#1#3]$ ; les droites $(#4#5)$ et $(#2#3)$ sont parallèles.
485 L'égalité des 3 rapports permet d'écrire :
486 \[\frac{#1#4}{#1#2}=\frac{#1#5}{#1#3}=\frac{#4#5}{#2#3}\]
487 }
488
489 \newcommand{\ThalesF}[5]{
490 Dans le triangle $#1#2#3$, $#4$ est un point du
491 segment $[#1#2]$, $#5$ est un point du segment
492 $[#1#3]$. Comme les droites $(#4#5)$ et $(#2#3)$ sont parallèles
493 alors, d'après l'égalité des trois rapports, on a :
494 \[\frac{#1#4}{#1#2}=\frac{#1#5}{#1#3}=\frac{#4#5}{#2#3}.\]
495 }
496
497 \newcommand{\ResolThales}[6]{%
498 \opset{decimalsepsymbol={,}}%
499 \opcopy{#3}{a3}%
500 \opcopy{#4}{a4}%
501 \opcopy{#5}{a5}%
502 On utilise %
503 \[\Eqalign{%
504 \frac{#1#2}{\opprint{a3}}&=\frac{\opprint{a4}}{\opprint{a5}}\cr%
505 #1#2&=\frac{\opprint{a3}\times\opprint{a4}}{\opprint{a5}}\cr%
506 #1#2&=\frac{\opmul*{a3}{a4}{a6}\opunzero{a6}\opprint{a6}}{\opprint{a5}}\cr%
507 \ifthenelse{\boolean{exact}}{#1#2&=\opdiv*[maxdivstep=4]{a6}{a5}{a7}{a8}\opunzero{a7}\opprint{a7}\cr}{#1#2&\approx\opdiv*[maxdivstep=4]{a6}{a5}{a7}{a8}\opunzero{a7}\opprint{a7}\cr}%
508 }\]%
509 \ifthenelse{\boolean{exact}}{La longueur $#1#2$ mesure \opprint{a7}\,#6}{La longueur $#1#2$ mesure environ \opprint{a7}\,#6}%
510 }
511
512 %%QCM
513 \newcounter{qqcm}
514
515 %définir un booléen qui permet de choisir la correction ou non
516 \newboolean{solution}
517
518 %définir une commande \V qui permet de changer le carré en carré coché suivant la valeur du booléen.
519 \newcommand{\V}[1]{\ifthenelse{\boolean{solution}}{$\boxtimes$\kern2mm #1}{$\Box$\kern2mm #1}}
520 \newcommand{\F}[1]{$\Box$\kern2mm #1}
521 \newcommand{\vr}{\ifthenelse{\boolean{solution}}{$\boxtimes$}{$\Box$}}
522 \newcommand{\fa}{$\Box$}
523
524 %%QCM Version 2
525 \newenvironment{Qcm}[1][2]{\par\setboolean{solution}{false}
526 \setcounter{qqcm}{0}\renewcommand{\arraystretch}{1.5}
527 \begin{tabular}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}b{\linewidth/#1}|*{#1}{l|}}\hline}{\hline\end{tabular}
528 \renewcommand{\arraystretch}{1}}
529
530 \newenvironment{Qcmcor}[1][2]{\par\setboolean{solution}{true}\setcounter{qqcm}{0}\renewcommand{\arraystretch}{1.5}
531 \begin{tabular}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}b{\linewidth/#1}|*{#1}{l|}}\hline}{\hline\end{tabular}
532 \renewcommand{\arraystretch}{1}}
533
534 \newcounter{taill}
535 \newcommand{\QCM}[3]{\setboolean{solution}{false}
536 \setcounter{qqcm}{0}
537 \renewcommand{\arraystretch}{1.5}
538 \setcounter{taill}{#1}
539 \addtocounter{taill}{1}
540 \begin{tabularx}{\linewidth}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}X|*{#1}{l|}}
541 \hline
542 \multicolumn{\thetaill}{|c|}{{\sc #2}}\\
543 #3
544 \hline
545 \end{tabularx}
546 \renewcommand{\arraystretch}{1}
547 }
548
549 \newcommand{\QCMcor}[3]{\setboolean{solution}{true}
550 \setcounter{qqcm}{0}
551 \renewcommand{\arraystretch}{1.5}
552 \setcounter{taill}{#1}
553 \addtocounter{taill}{1}
554 \begin{tabularx}{\linewidth}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}X|*{#1}{l|}}
555 \hline
556 \multicolumn{\thetaill}{|c|}{{\sc #2}}\\
557 #3
558 \hline
559 \end{tabularx}
560 \renewcommand{\arraystretch}{1}
561 }
562
563 \newcommand{\QCMvar}[4]{\setboolean{solution}{false}
564 \setcounter{qqcm}{0}
565 \renewcommand{\arraystretch}{#2}
566 \setcounter{taill}{#1}
567 \addtocounter{taill}{1}
568 \begin{tabularx}{\linewidth}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}X|*{#1}{l|}}
569 \hline
570 \multicolumn{\thetaill}{|c|}{{\sc #3}}\\
571 #4
572 \hline
573 \end{tabularx}
574 \renewcommand{\arraystretch}{1}%
575 }
576
577 \newcommand{\QCMvarcor}[4]{\setboolean{solution}{true}
578 \setcounter{qqcm}{0}
579 \renewcommand{\arraystretch}{#2}
580 \setcounter{taill}{#1}
581 \addtocounter{taill}{1}
582 \begin{tabularx}{\linewidth}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}X|*{#1}{l|}}
583 \hline
584 \multicolumn{\thetaill}{|c|}{{\sc #3}}\\
585 #4
586 \hline
587 \end{tabularx}
588 \renewcommand{\arraystretch}{1}
589 }
590
591 \newenvironment{VF}[1]{\par\setboolean{solution}{false}
592 \setcounter{qqcm}{0}\renewcommand{\arraystretch}{1.5}
593 \begin{center}
594 \begin{tabular}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}b{\linewidth/2}|*{2}{c|}}\hline
595 \multicolumn{3}{|c|}{#1}\\
596 \hline
597 \multicolumn{1}{|c|}{\bf Question}&\multicolumn{1}{c|}{\bf Vrai}&\multicolumn{1}{c|}{\bf Faux}\\
598 \hline
599 }{\hline\end{tabular}
600 \end{center}\renewcommand{\arraystretch}{1}}
601
602 \newenvironment{VFvar}[2]{\par\setboolean{solution}{false}
603 \setcounter{qqcm}{0}\renewcommand{\arraystretch}{1.5}
604 \begin{center}
605 \begin{tabular}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}b{#2}|*{2}{c|}}\hline
606 \multicolumn{3}{|c|}{#1}\\
607 \hline
608 \multicolumn{1}{|c|}{\bf Question}&\multicolumn{1}{c|}{\bf Vrai}&\multicolumn{1}{c|}{\bf Faux}\\
609 \hline
610 }{\hline\end{tabular}
611 \end{center}\renewcommand{\arraystretch}{1}}
612
613
614 \newenvironment{VFcor}[1]{\par\setboolean{solution}{true}\setcounter{qqcm}{0}\renewcommand{\arraystretch}{1.5}
615 \begin{tabular}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}b{\linewidth/2}|*{2}{c|}}\hline
616 \multicolumn{3}{|c|}{#1}\\
617 \hline
618 \multicolumn{1}{|c|}{\bf Question}&\multicolumn{1}{c|}{\bf Vrai}&\multicolumn{1}{c|}{\bf Faux}\\
619 \hline
620 }{\hline\end{tabular}
621 \renewcommand{\arraystretch}{1}}
622
623
624 \newcommand{\QCMsimple}[2]{\setboolean{solution}{false}
625 \setcounter{qqcm}{0}
626 \renewcommand{\arraystretch}{1.5}
627 \setcounter{taill}{#1}
628 \addtocounter{taill}{1}
629 \begin{tabularx}{\linewidth}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}X|*{#1}{l|}}
630 \hline
631 #2
632 \hline
633 \end{tabularx}
634 \renewcommand{\arraystretch}{1}
635 }
636
637 \newcommand{\QCMsimplevar}[3]{\setboolean{solution}{false}
638 \setcounter{qqcm}{0}
639 \renewcommand{\arraystretch}{#2}
640 \setcounter{taill}{#1}
641 \addtocounter{taill}{1}
642 \begin{tabularx}{\linewidth}{|>{\small\stepcounter{qqcm}{\bf \theqqcm$\blacktriangleright$}\,}X|*{#1}{l|}}
643 \hline
644 #3
645 \hline
646 \end{tabularx}
647 \renewcommand{\arraystretch}{1}
648 }
649
650 \newcommand{\QCMsimplecor}[2]{\setboolean{solution}{true}
651 \setcounter{qqcm}{0}
652 \renewcommand{\arraystretch}{1.5}
653 \setcounter{taill}{#1}
654 \addtocounter{taill}{1}
655 \begin{tabularx}{\linewidth}{|>{\small\stepcounter{qqcm}{\bf \theqqcm$\blacktriangleright$}\,}X|*{#1}{l|}}
656 \hline
657 #2
658 \hline
659 \end{tabularx}
660 \renewcommand{\arraystretch}{1}
661 }
662
663 \newcommand{\QCMsimplevarcor}[3]{\setboolean{solution}{true}
664 \setcounter{qqcm}{0}
665 \renewcommand{\arraystretch}{#2}
666 \setcounter{taill}{#1}
667 \addtocounter{taill}{1}
668 \begin{tabularx}{\linewidth}{|>{\small\stepcounter{qqcm}{\bf \theqqcm/}\,}X|*{#1}{l|}}
669 \hline
670 #3
671 \hline
672 \end{tabularx}
673 \renewcommand{\arraystretch}{1}
674 }

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.