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/can4G09-DCIfYzbr.js
import{E as A,h as a,q as h,K as S,be as v,aE as B,r as E,L as j,ap as k,bf as p,f as n,o as L,aa as N}from"./index-hc8lvKav.js";import{T as O}from"./Triangle-FDEJkBe1.js";const I="Trouver la longueur d'un côté de triangle rectangle",K=!0,Q="mathLive",R="01/10/2023",V="96bcd",z="can4G09";function H(){A.call(this),this.typeExercice="simple",this.formatChampTexte="largeur15 inline",this.nbQuestions=1,this.tailleDiaporama=2,this.sup=1,this.besoinFormulaireNumerique=["Type de question",3,`1: calcul de l'hypoténuse
2: Calcul d'un côté de l'angle droit
3: L'un ou l'autre`],this.nouvelleVersion=function(){const e=a([[3,4,5],[5,12,13],[6,8,10],[8,15,17],[9,12,15],[12,16,20],[15,20,25]]),b=new O,t=Array.from(b.nom),l=4/e[1],f=h(0,0),y=h(e[1]*l,0),x=h(e[1]*l,e[0]*l),m=S(f,y,x),T=v(m),u=B(m,T,E(0,360)),i=u.listePoints[0],r=u.listePoints[1],$=u.listePoints[2],C=j(i,r,$);i.nom=t[0],r.nom=t[1],$.nom=t[2];const D=k(i,r,$),g=p(String(e[1]),r,i,"black",.5,!0),d=p(String(e[0]),$,r,"black",.5,!0),q=p(String(e[2]),i,$,"black",.5,!0),c=[D,C];let o=this.sup===1?0:this.sup===2?1:a([0,1]);if(this.question=`Dans le triangle $${t.join("")}$ rectangle en $${t[1]}$, `,o===0)o=a([0,1]),c.push(g,d),this.question+=`$${t[o*2]}${t[1]}=${e[1-o]}$${n(1)}cm, $${t[1]}${t[(1-o)*2]}=${e[o]}$${n(1)}cm.<br>Calculer $${t[0]}${t[2]}$.`,c.push(),this.correction=`D'après le théorème de Pythagore, $${t[0]}${t[2]}^2=${t[0]}${t[1]}^2+${t[1]}${t[2]}^2=${e[1]}^2+${e[0]}^2=${e[1]**2}+${e[0]**2}=${e[2]**2}$.<br>`,this.correction+=`D'où $${t[0]}${t[1]}=\\sqrt{${e[2]**2}}=${e[2]}$.`,this.reponse=e[2],this.optionsChampTexte={texte:`$${t[0]}${t[2]}$=`,texteApres:`${n(1)}cm`};else{const s=a([0,2]);c.push(q,s===0?g:d),this.question+=`$${t[0]}${t[2]}=${e[2]}$${n(1)}cm, $${t[s]}${t[1]}=${e[(2-s)/2]}$${n(1)}cm.<br>Calculer $${t[2-s]}${t[1]}$.`,this.correction=`D'après le théorème de Pythagore, $${t[0]}${t[2]}^2=${t[0]}${t[1]}^2+${t[1]}${t[2]}^2$ soit $${e[2]}^2=${t[2-s]}${t[1]}^2+${e[(2-s)/2]}^2$.<br>`,this.correction+=`Donc $${t[2-s]}${t[1]}^2=${e[2]}^2-${e[(2-s)/2]}^2=${e[2]**2}-${e[(2-s)/2]**2}=${e[s/2]**2}$.<br>`,this.correction+=`D'où $${t[2-s]}${t[1]}=\\sqrt{${e[s/2]**2}}=${e[s/2]}$.`,this.reponse=e[s/2],this.optionsChampTexte={texte:`$${t[2-s]}${t[1]}=$`,texteApres:`${n(1)}cm`}}this.formatInteractif="calcul",this.formatChampTexte="largeur10 inline nospacebefore";const P=L(Object.assign({scale:.6,style:"display: inline;"},N(c)),c);this.question+=P}}export{R as dateDePublication,H as default,K as interactifReady,Q as interactifType,z as ref,I as titre,V as uuid};
//# sourceMappingURL=can4G09-DCIfYzbr.js.map