File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/6C31-2-m2IGfQ3W.js
import{E as v,h as c,W as o,w as n,r as x,b4 as $,a,s as d,ai as m,l as w}from"./index-hc8lvKav.js";const k="Give approximate values of a decimal quotient",Q=!0,y="mathLive",D="013ef",q="6C31-2";function M(){v.call(this),this.nbQuestions=1,this.nbCols=1,this.nbColsCorr=1,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];for(let s=0,r,h,p=0;s<this.nbQuestions&&p<50;){const b=c([3,7,11,13]),u=c([3,7,11,13],b),e=c([3,5,7,11,13],[b,u])*c([3,5,7,11,13],[b,u]),i=b*u,f=o(e/i,6);r=`We know that $${e}\\div${i}\\approx${n(f)}$.<br>Complete the following sentences.`;const t=[[`The default approximate value of $${e}\\div${i}$ to the nearest tenth is:`,o(e/i-.05,1)],[`The approximate value by excess of $${e}\\div${i}$ to the nearest tenth is:`,o(e/i+.05,1)],[`The default approximate value of $${e}\\div${i}$ to the nearest hundredth is:`,o(e/i-.005,2)],[`The truncation of $${e}\\div${i}$ to the nearest hundredth is:`,o(Math.floor(e/i*100)/100,2)],[`The approximate value by excess of $${e}\\div${i}$ to the nearest hundredth is:`,o(e/i+.005,2)],[`The default approximate value of $${e}\\div${i}$ to the nearest thousandth is:`,o(e/i-5e-4,3)],[`The truncation of $${e}\\div${i}$ to the nearest thousandth is:`,o(Math.round(e/i*1e3)/1e3,3)],[`The approximate value by excess of $${e}\\div${i}$ to the nearest thousandth is:`,o(e/i+5e-4,3)]],l=[[`The value of $${e}\\div${i}$ rounded to the nearest tenth is:`,o(e/i,1)],[`The rounded value of $${e}\\div${i}$ to the nearest hundredth is:`,o(e/i,2)],[`The rounded value of $${e}\\div${i}$ to the nearest thousandth is:`,o(e/i,3)]];switch(h=`We know that $${e}\\div${i}\\approx${n(f)}$.`,x(1,4)){case 1:r+=`<br><br> ${$(0)} ${t[0][0]} ${this.interactif?a(this,4*s,"width10 inline"):"\\ldots"}`,d(this,4*s,t[0][1]),r+=`<br><br> ${$(1)} ${t[4][0]} ${this.interactif?a(this,4*s+1,"width10 inline"):"\\ldots"}`,d(this,4*s+1,t[4][1]),h+=`<br><br> ${$(0)} ${t[0][0]} $ ${n(t[0][1])}$`,h+=`<br><br> ${$(1)} ${t[4][0]} $ ${n(t[4][1])}$`;break;case 2:r+=`<br><br> ${$(0)} ${t[1][0]} ${this.interactif?a(this,4*s,"width10 inline"):"\\ldots"}`,d(this,4*s,t[1][1]),r+=`<br><br> ${$(1)} ${t[5][0]} ${this.interactif?a(this,4*s+1,"width10 inline"):"\\ldots"}`,d(this,4*s+1,t[5][1]),h+=`<br><br> ${$(0)} ${t[1][0]} $ ${n(t[1][1])}$`,h+=`<br><br> ${$(1)} ${t[5][0]} $ ${n(t[5][1])}$`;break;case 3:r+=`<br><br> ${$(0)} ${t[3][0]} ${this.interactif?a(this,4*s,"width10 inline"):"\\ldots"}`,d(this,4*s,t[3][1]),r+=`<br><br> ${$(1)} ${t[7][0]} ${this.interactif?a(this,4*s+1,"width10 inline"):"\\ldots"}`,d(this,4*s+1,t[7][1]),h+=`<br><br> ${$(0)} ${t[3][0]} $ ${n(t[3][1])}$`,h+=`<br><br> ${$(1)} ${t[7][0]} $ ${n(t[7][1])}$`;break;case 4:r+=`<br><br> ${$(0)} ${t[4][0]} ${this.interactif?a(this,4*s,"width10 inline"):"\\ldots"}`,d(this,4*s,t[4][1]),r+=`<br><br> ${$(1)} ${t[7][0]} ${this.interactif?a(this,4*s+1,"width10 inline"):"\\ldots"}`,d(this,4*s+1,t[7][1]),h+=`<br><br> ${$(0)} ${t[4][0]} $ ${n(t[4][1])}$`,h+=`<br><br> ${$(1)} ${t[7][0]} $ ${n(t[7][1])}$`;break}m(l),r+=`<br><br> ${$(2)} ${l[0][0]} ${this.interactif?a(this,4*s+2,"width10 inline"):"\\ldots"}`,d(this,4*s+2,l[0][1]),r+=`<br><br> ${$(3)} ${l[1][0]} ${this.interactif?a(this,4*s+3,"width10 inline"):"\\ldots"}`,d(this,4*s+3,l[1][1]),h+=`<br><br> ${$(2)} ${l[0][0]} $ ${n(l[0][1])}$`,h+=`<br><br> ${$(3)} ${l[1][0]} $ ${n(l[1][1])}$`,this.questionJamaisPosee(s,e,i,f)&&(this.listeQuestions.push(r),this.listeCorrections.push(h),s++),p++}w(this)}}export{M as default,Q as interactifReady,y as interactifType,q as ref,k as titre,D as uuid};
//# sourceMappingURL=6C31-2-m2IGfQ3W.js.map