HEX
Server: Apache
System: Linux vps.mmtprep.com 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Thu Aug 10 13:51:50 EDT 2023 x86_64
User: mmtprep (1001)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/can2G03-YRTLabgn.js
import{E as p,aL as y,r,q,B as g,aR as f,ap as P,h as C,ax as h,L as A,n as l,J as o,w as u,o as E}from"./index-hc8lvKav.js";const M="Calculer l’hypoténuse avec le théorème de Pythagore",D=!0,N="mathLive",R="6341d",k="can2G03";function L(){p.call(this),this.typeExercice="simple",this.formatChampTexte="largeur15 inline",this.nbQuestions=1,this.tailleDiaporama=2;let t,$;this.nouvelleVersion=function(){const e=y(3,["QD"]);t=r(2,7),$=r(3,7);const s=q(0,0,e[0]),a=g(s,t,r(0,45),e[1]),n=f(s,a,90,$/t,e[2]),c=P(s,a,n),i=[],m=Math.min(s.x,a.x,n.x)-1,b=Math.min(s.y,a.y,n.y)-1,d=Math.max(s.x,a.x,n.x)+1,x=Math.max(s.y,a.y,n.y)+1;switch(C(["a","b"])){case"a":i.push(c[0],c[1],A(s,a,n)),i.push(l("x",o(s,n).x,o(s,n).y-.3,"milieu","black",1,"middle",!0),l(`${u(t)}`,o(s,a).x,o(s,a).y+.4),l(`${u($)}`,o(a,n).x+.4,o(a,n).y)),this.question=`Sur cette figure $x=\\sqrt{a}$.<br>
        
        Quelle est la valeur de $a$ ?<br>

        `,this.question+=E({xmin:m,ymin:b,xmax:d,ymax:x,pixelsParCm:18,mainlevee:!1,amplitude:.3,scale:.5,style:"margin: auto"},i),this.correction=` En utilisant le théorème de Pythagore, on a :<br>
        $${e[0]}${e[1]}^2+${e[1]}${e[2]}^2=${e[0]}${e[2]}^2$, soit
        $${t}^2+${$}^2=x^2$, d'où $x=\\sqrt{${t}^2+${$}^2}=\\sqrt{${t**2+$**2}}$
       <br>
       Ainsi, $a=${t**2+$**2}$.`,this.reponse=h(t**2+$**2),this.canEnonce=this.question,this.canReponseACompleter="$a=\\ldots$";break;case"b":t=r(1,10),$=r(2,10,[4,9]),t**2+$===9||t**2+$===16||t**2+$===25||t**2+$===36||t**2+$===49?(this.question=`$${e[0]}${e[1]}${e[2]}$ est un triangle rectangle en $${e[0]}$.<br>
        $${e[0]}${e[1]}=${t}$ ; $${e[0]}${e[2]}=\\sqrt{${$}}$.<br>
        
        Calculer $${e[1]}${e[2]}$ .<br>

        (donner le résultat sous la forme $\\sqrt{a}$ ou d'un nombre entier le cas échéant)`,this.correction=` En utilisant le théorème de Pythagore dans $${e[0]}${e[1]}${e[2]}$ rectangle en $${e[0]}$, on obtient :<br>
               $${e[0]}${e[1]}^2+${e[0]}${e[2]}^2=${e[1]}${e[2]}^2$, <br>
               soit $${t}^2+\\sqrt{${$}}^2=${e[1]}${e[2]}^2$, d'où $${e[1]}${e[2]}^2=${t*t+$}$ soit $${e[1]}${e[2]}=\\sqrt{${t*t+$}}=${Math.sqrt(t*t+$)}$.
             <br>`,this.reponse=h(Math.sqrt(t**2+$))):(this.question=`$${e[0]}${e[1]}${e[2]}$ est un triangle rectangle en $${e[0]}$.<br>

          $${e[0]}${e[1]}=${t}$ ; $${e[0]}${e[2]}=\\sqrt{${$}}$.<br>
          
          Calculer $${e[1]}${e[2]}$ .<br>

          (donner le résultat sous la forme $\\sqrt{a}$ ou d'un nombre entier le cas échéant)`,this.correction=` En utilisant le théorème de Pythagore dans $${e[0]}${e[1]}${e[2]}$ rectangle en $${e[0]}$, on obtient :<br>
                 $${e[0]}${e[1]}^2+${e[0]}${e[2]}^2=${e[1]}${e[2]}^2$, <br>
                 soit $${t}^2+\\sqrt{${$}}^2=${e[1]}${e[2]}^2$, d'où $${e[1]}${e[2]}^2=${t*t+$}$ soit $${e[1]}${e[2]}=\\sqrt{${t*t+$}}$.
               <br>`,this.reponse=`\\sqrt{${t**2+$}}`),this.canEnonce=this.question,this.canReponseACompleter=`$${e[1]}${e[2]}=\\ldots$`;break}}}export{L as default,D as interactifReady,N as interactifType,k as ref,M as titre,R as uuid};
//# sourceMappingURL=can2G03-YRTLabgn.js.map