File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/3F13-OLyE4ye7.js
import{E as H,c as T,D as M,a as v,s as g,r as e,o as L,aQ as N}from"./index-ajJ0B2-K.js";import{c as R}from"./courbes-oSx9bP9E.js";import{r as V}from"./reperes-w_D-727i.js";import{a as A}from"./MatriceCarree-MC6IbkYy.js";import"./Polynome-XKA3os2q.js";const E="Read the antecedents of a number from a graph",W=!0,k="mathLive",z="23/09/2023",B="8117d",K="3F13";function O(){H.call(this),this.titre=E,this.consigne="",this.sup=2,this.spacing=1,T.isHtml?this.spacingCorr=3:this.spacingCorr=1,this.nbQuestions=1,this.nbQuestionsModifiable=!0,this.nbCols=1,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.contenu="",this.contenuCorrection="";let r,m,$,i,h,s,t,c,f,d,b,C,p,n,l,x,a=0,w;this.sup=Number(this.sup);for(let y=0;y<this.nbQuestions;){(function(){T.isHtml?(i=e(-6,-3),h=e(i+3,2),s=e(1,8),t=e(-5,5),c=e(-6,6,t),f=e(-5,5),$=e(-5,5)):(i=e(-4,-2),h=e(-1,2,[0]),s=e(1,4),t=e(-4,4),c=e(-4,4,t),f=e(-4,4),$=e(-3,3))})(),n="We have drawn below the representative curve of the function $f$.<br>";const I=this.sup===1?1:this.sup===2?2:y%2+1;if(I===1)r=new M(c-t).div(h-i),m=r.mul(i).sub(t),x=o=>r*o-m,n+=`Determine by graphic reading the antecedents of $${t}$ and $${c}$ by this function $f$.<br><br>`,n+=v(this,a,"width5 inline",{texteAvant:`The antecedent(s) of $${t}$ (separate numbers with a semicolon):`}),n+=v(this,a+1,"width5 inline",{texteAvant:`<br>The antecedent(s) of $${c}$ (separate numbers with a semicolon):`}),g(this,a,i,{formatInteractif:"calculation"}),g(this,a+1,h,{formatInteractif:"calculation"}),w=2,l=`The antecedent of $${t}$ is $${i}$, we note $f(${i})=${t}$.<br>`,l+=`The antecedent of $${c}$ is $${h}$, we note $f(${h})=${c}$.`;else if(I===2)if(e(1,4)<2){const o=e(-2,2);let u=e(-4,4);T.isHtml||(u=e(-2,2)),r=e(-3,3,0),n+=`Determine by graphic reading the antecedent(s) of $${u}$ by this function $f$.<br><br>`,n+=v(this,a,"width5 inline",{texteAvant:`The antecedent(s) of ${u} (separate numbers with a semicolon):`}),g(this,a,o,{formatInteractif:"calculation"}),w=1,l=`$${u}$ has a unique antecedent $${o}$, we note $f(${o})=${u}$.<br>`,x=q=>r*(q-o)**2+u}else{for(f=t,[[d,b],[C,p]]=A(i,s,t,f,$);b===0||p===0||d===0;)i=e(-4,-1),s=e(1,4),t=e(-7,7),f=t,$=e(-6,6),[[d,b],[C,p]]=A(i,s,t,f,$);r=new M(d).div(b),m=new M(C).div(p),h=0,c=$,x=o=>r*o**2+m*o+$,n+=`Determine by graphic reading the antecedent(s) of $${t}$ by this function $f$.<br><br>`,n+=v(this,a,"width5 inline",{texteAvant:`The antecedent(s) of ${t} (separate numbers with a semicolon):`}),g(this,a,[`${i};${s}`,`${s};${i}`],{formatInteractif:"text"}),w=1,l=`$${t}$ has two antecedents $${i}$ and $${s}$, we note $f(${i})=f(${s})=${t}$.<br>`}const Q=V({xMin:-10,xMax:10,yMin:-10,yMax:10}),D=R(x,{repere:Q,step:.2,color:"purple"});n+=L({xmin:-10,xmax:10,ymin:-10,ymax:10,scale:.5},Q,D),this.questionJamaisPosee(y,r,t)&&(this.listeQuestions.push(n),this.listeCorrections.push(l),a+=w,y++)}N(this)},this.besoinFormulaireNumerique=["Type of functions",3,`1: Affine
2: 2nd degree polynomial
3: Mixture`]}export{z as dateDeModifImportante,O as default,W as interactifReady,k as interactifType,K as ref,E as titre,B as uuid};
//# sourceMappingURL=3F13-OLyE4ye7.js.map