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/6D12-eQysVg7x.js
import{E as v,aj as C,r as m,aK as d,s as g,aJ as b,c as A,a as S,l as H}from"./index-ajJ0B2-K.js";import{c as w,m as p}from"./dateEtHoraires-L3F4WBTY.js";import{b as T,p as M}from"./Personne-zmVSe1SX.js";const D="Calculate durations or determine a schedule",E=!0,k="mathLive",F=!0,L="AMCHybride",O="09/10/2023",R="e960d",q="6D12";function J(){v.call(this),this.consigne="",this.sup=4,this.spacing=2,this.nbQuestions=3,this.nbCols=1,this.nbColsCorr=1,this.spacingCorr=2,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];const u=C([1,2,3,4,5],this.nbQuestions);let x;this.sup<4?x=C([this.sup],this.nbQuestions):x=C([1,2,3],this.nbQuestions);for(let o=0,i,s,$,r,n,a,t,h,f,l,e,c,y=0;o<this.nbQuestions&&y<50;){if(u[o]===1)s=m(20,22),$=m(35,58),i=s*60+$,n=s+2,a=m(1,$-1),r=n*60+a,t=r-i,i=w(i),r=w(r),h=parseInt(t/60),f=t%60,t=p(t),x[o]===1?(l=`The broadcast of a film begins at ${i} and ends at ${r}. How long was this movie?`,e=`${i}$~\\xrightarrow{+${60-$}~\\text{min}}${(s+1)%24}~\\text{h} \\xrightarrow{+${(n-s-1)%24}~\\text{h}~${a}~\\min}${n%24}~\\text {h}~${a}~\\text{min}$`,e+=`<br>${r} $-$ ${i} = ${t}`,e+="<br>",e+=`The film lasts ${d(t)}.`,c="The film lasts",g(this,o,b.fromString(t),{formatInteractif:"hms"})):x[o]===2?(l=`A film lasts ${t} and begins at ${i}. What time will it end?`,e=`${i} + ${t} = ${s+h} h ${$+f} min`,$+f>59&&(e+=` = ${r}`),e+="<br>",e+=`The film will end at ${d(r)}.`,c="The film will end at",g(this,o,b.fromString(r),{formatInteractif:"hms"})):x[o]===3&&(l=`A ${t} film ends at ${r}. What time did it start?`,e=`$${n%24}~\\text{h}~${a}~\\text{min}`,h>0&&(e+=`\\xrightarrow{-${h}~\\text{h}} ${n-h}~\\text{h}~${a}~\\text{min}`),e+=`\\xrightarrow{-${a}~\\text{min}} ${(n-h)%24}~\\text{h} \\xrightarrow{-${Math.abs(f-a)}~\\text{min}} ${s}~\\text{h}~${$}~\\text {min}$`,e+=`<br>${r} $-$ ${t} = ${i}`,e+="<br>",e+=`The film started at ${d(i)}.`,c="The film started",g(this,o,b.fromString(i),{formatInteractif:"hms"}));else if(u[o]===2){for(s=m(20,23),$=m(35,58),i=s*60+$,n=s+1,a=m(1,$),r=n*60+a,t=r-i;t<27||t>75||t===60;)s=m(20,23),$=m(35,58),i=s*60+$,n=s+2,a=m(1,$),r=n*60+a,t=r-i;i=w(i),r=w(r),h=parseInt(t/60),f=t%60,t=p(t),x[o]===1?(l=`On his favorite streaming service, ${T()} starts watching a series at ${i} and it ends at ${r}. How long did the episode last?`,e=`${i}$~\\xrightarrow{+${60-$}~\\text{min}}${(s+1)%24}~\\text{h} \\xrightarrow{+${n-s-1>0?`${(n-s-1)%24}~\\text{h}`:""}~${a}~\\min}${n%24}~\\text{h}~${a}~\\text{min}$`,e+=`<br>${r} $-$ ${i} = ${t}`,e+="<br>",e+=`The series lasted ${d(t)}.`,g(this,o,b.fromString(t),{formatInteractif:"hms"}),c="The series lasted"):x[o]===2?(l=`${T()} turns his computer on to ${i} to watch a series of ${t}. What time will the series end?`,e=`${i} + ${t} = ${s+h} h ${$+f} min`,$+f>59&&(e+=` = ${r}`),e+="<br>",e+=`The series will end at ${d(r)}.`,g(this,o,b.fromString(r),{formatInteractif:"hms"}),c="The series will end at"):x[o]===3&&(l=`${T()} finishes watching a series from ${t} to ${r}. What time did the series start?`,e=`$${n%24}~\\text{h}~${a}~\\text{min}`,h>0&&(e+=`\\xrightarrow{-${h}~\\text{h}} ${n-h}~\\text{h}~${a}~\\text{min}`),e+=`\\xrightarrow{-${a}~\\text{min}} ${(n-h)%24}~\\text{h} \\xrightarrow{-${Math.abs(f-a)}~\\text{min}} ${s}~\\text{h}~${$}~\\text {min}$`,e+=`<br>${r} $-$ ${t} = ${i}`,e+="<br>",e+=`The series started at ${d(i)}.`,g(this,o,b.fromString(i),{formatInteractif:"hms"}),c="The series began")}else if(u[o]===3)s=m(8,21),$=m(1,58),i=s*60+$,n=s+m(1,2),a=m(1,59),r=n*60+a,t=r-i,i=w(i),r=w(r),h=parseInt(t/60),f=t%60,t=p(t),x[o]===1?(l=`A television program is broadcast from ${i} to ${r}. How long does it last?`,e=`${i}$~\\xrightarrow{+${60-$}~\\text{min}}${(s+1)%24}~\\text{h} \\xrightarrow{+${n-s-1>0?`${(n-s-1)%24}~\\text{h}`:""}~${a}~\\min}${n%24}~\\text{h}~${a}~\\text{min}$`,e+=`<br>${r} $-$ ${i} = ${t}`,e+="<br>",e+=`The broadcast lasts ${d(t)}.`,g(this,o,b.fromString(t),{formatInteractif:"hms"}),c="The show lasts"):x[o]===2?(l=`A ${t} television broadcast begins at ${i}. What time will it end?`,e=`${i} + ${t} = ${s+h} h ${$+f} min`,$+f>59&&(e+=` = ${r}`),e+="<br>",e+=`The broadcast will end at ${d(r)}.`,g(this,o,b.fromString(r),{formatInteractif:"hms"}),c="The show will end at"):x[o]===3&&(l=`At ${r}, ${T()} finishes watching a ${t} broadcast. What time did the show start?`,e=`$${n%24}~\\text{h}~${a}~\\text{min}`,h>0&&(e+=`\\xrightarrow{-${h}~\\text{h}} ${n-h}~\\text{h}~${a}~\\text{min}`),e+=`\\xrightarrow{-${a}~\\text{min}} ${(n-h)%24}~\\text{h} \\xrightarrow{-${Math.abs(f-a)}~\\text{min}} ${s}~\\text{h}~${$}~\\text {min}$`,e+=`<br>${r} $-$ ${t} = ${i}`,e+="<br>",e+=`The broadcast started at ${d(i)}.`,g(this,o,b.fromString(i),{formatInteractif:"hms"}),c="The show started at");else if(u[o]===4){for(s=m(13,16),$=m(1,58),i=s*60+$,n=s+m(1,2),a=m(1,58),r=n*60+a,t=r-i;t<27||t>75||t===60;)s=m(13,16),$=m(35,58),i=s*60+$,n=s+m(1,2),a=m(1,$),r=n*60+a,t=r-i;i=w(i),r=w(r),h=parseInt(t/60),f=t%60,t=p(t),x[o]===1?(l=`A dad watches his daughter's gymnastics competition from ${i} to ${r}. How long is this competition?`,e=`${i}$~\\xrightarrow{+${60-$}~\\text{min}}${(s+1)%24}~\\text{h} \\xrightarrow{+${n-s-1>0?`${(n-s-1)%24}~\\text{h}`:""}~${a}~\\min}${n%24}~\\text{h}~${a}~\\text{min}$`,e+=`<br>${r} $-$ ${i} = ${t}`,e+="<br>",e+=`The competition lasts ${d(t)}.`,g(this,o,b.fromString(t),{formatInteractif:"hms"}),c="The competition lasts"):x[o]===2?(l=`A gymnastics competition begins at ${i} and lasts ${t}. What time will it be finished?`,e=`${i} + ${t} = ${s+h} h ${$+f} min`,$+f>59&&(e+=` = ${r}`),e+="<br>",e+=`The competition will end at ${d(r)}.`,g(this,o,b.fromString(r),{formatInteractif:"hms"}),c="The competition will end at"):x[o]===3&&(l=`A gymnastics competition that ends at ${r} lasted ${t}. What time did it start?`,e=`$${n%24}~\\text{h}~${a}~\\text{min}`,h>0&&(e+=`\\xrightarrow{-${h}~\\text{h}} ${n-h}~\\text{h}~${a}~\\text{min}`),e+=`\\xrightarrow{-${a}~\\text{min}} ${(n-h)%24}~\\text{h} \\xrightarrow{-${Math.abs(f-a)}~\\text{min}} ${s}~\\text{h}~${$}~\\text {min}$`,e+=`<br>${r} $-$ ${t} = ${i}`,e+="<br>",e+=`The competition started at ${d(i)}.`,g(this,o,b.fromString(i),{formatInteractif:"hms"}),c="The competition began")}else if(u[o]===5){for(s=m(8,15),$=m(25,58),i=s*60+$,n=s+m(2,5),a=m(1,$),r=n*60+a,t=r-i;t<27||t>75||t===60;)s=m(20,23),$=m(35,58),i=s*60+$,n=s+2,a=m(1,$),r=n*60+a,t=r-i;if(i=w(i),r=w(r),h=parseInt(t/60),f=t%60,t=p(t),x[o]===1)l=`A train leaves at ${i} and arrives at its destination at ${r}. How long is the journey?`,e=`${i}$~\\xrightarrow{+${60-$}~\\text{min}}${(s+1)%24}~\\text{h} \\xrightarrow{+${n-s-1>0?`${(n-s-1)%24}~\\text{h}`:""}~${a}~\\min}${n%24}~\\text{h}~${a}~\\text{min}$`,e+=`<br>${r} $-$ ${i} = ${t}`,e+="<br>",e+=`The journey takes ${d(t)}.`,g(this,o,b.fromString(t),{formatInteractif:"hms"}),c="The trip lasts";else if(x[o]===2){const I=M();l=`${I} boards the train at ${i} for a journey that must last ${t}. What time will she arrive?`,e=`${i} + ${t} = ${s+h} h ${$+f} min`,$+f>59&&(e+=` = ${r}`),e+="<br>",e+=`${I} will arrive at ${d(r)}.`,g(this,o,b.fromString(r),{formatInteractif:"hms"}),c=`${I} will arrive at`}else x[o]===3&&(l=`A train arrives at the station at ${r} after a ${t} journey. What time did the trip start?`,e=`$${n%24}~\\text{h}~${a}~\\text{min}`,h>0&&(e+=`\\xrightarrow{-${h}~\\text{h}} ${n-h}~\\text{h}~${a}~\\text{min}`),e+=`\\xrightarrow{-${a}~\\text{min}} ${(n-h)%24}~\\text{h} \\xrightarrow{-${Math.abs(f-a)}~\\text{min}} ${s}~\\text{h}~${$}~\\text {min}$`,e+=`<br>${r} $-$ ${t} = ${i}`,e+="<br>",e+=`The journey began at ${d(i)}.`,g(this,o,b.fromString(i),{formatInteractif:"hms"}),c="The journey began")}A.isAmc&&(this.autoCorrection[o]={enonce:"In each of the boxes, show an approach or a calculation and respond with a sentence.<br>",enonceAvant:!1,enonceAvantUneFois:!0,melange:!1,propositions:[{type:"AMCOpen",propositions:[{texte:" ",statut:3,feedback:"",enonce:l+"<br>",sanscadre:!1}]}]}),this.interactif&&(l+="<br><br>",l+=S(this,o,"keyboardHms inline",{texteAvant:c+" :"})),this.questionJamaisPosee(o,l)&&(this.listeQuestions.push(l),this.listeCorrections.push(e),o++),y++}H(this)},this.besoinFormulaireNumerique=["Difficulty level",4,`1: Calculation of durations
2: Calculation of the end time
3: Calculation of the start time
4: Mixture`]}export{F as amcReady,L as amcType,O as dateDeModifImportante,J as default,E as interactifReady,k as interactifType,q as ref,D as titre,R as uuid};
//# sourceMappingURL=6D12-eQysVg7x.js.map