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/6P10-qa-o7MTx.js
import{E as O,c as Q,aj as Y,ag as _,b7 as B,r as n,D as P,f as l,aJ as E,w as T,m as x,p as L,l as S}from"./index-XCg2QAX4.js";import{p as C,a as q}from"./Personne-YG14ggow.js";import{t as p}from"./style-MaFG70fX.js";const G="Recognize a situation of proportionality",K=!0,X="qcm",Z=!0,ee="qcmMono",te="850d5",se="6P10";function oe(){O.call(this),Q.isHtml?this.spacing=2:this.spacing=1.4,Q.isHtml?this.spacingCorr=1.5:this.spacingCorr=1,this.nbQuestions=5,this.nbColsCorr=1,this.nbCols=1,this.nbColsModifiable=!1,this.nbColsCorrModifiable=!1,this.sup=6,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];let y;this.nbQuestions>1?this.consigne="Answer the questions asked with reasons.":this.consigne="Answer the question asked with justification.";const j=Y([0,1,2,3,4],this.nbQuestions),D=_({max:5,defaut:6,melange:6,nbQuestions:this.nbQuestions,saisie:this.sup}),R=B(D,"1")+B(D,"5"),N=Y([!0,!1],R),H=["in a DIY store","in a pet store","at the local supermarket","at the grocery store","in the museum shop"],g=[[]],w=[[]],c=[[]];let v=[];const z=["Moscow","Berlin","Paris","Brussels","Rome","Belgrade"],F=["double","triple","quadruple","is multiplied by 5","is multiplied by 6"];g[0]=["items","tools","accessories","tool parts","paint brushes","light bulbs","screwdriver","spatulas","pipe fittings"],g[1]=["goldfish","ducklings","parakeets","stick insects","flea collars","mouse","rabbits","seed packets"],g[2]=["placemats","glasses","plates","chewing bones","coffee pods","milk packs","pasta packets"],g[3]=["mangoes","pineapple","passion fruit","melons","packets of madeleines from Commercy","bergamot","bredeles","cancoillotte pots"],g[4]=["cards","books","engravings","puzzles","models","rocks","board games"],w[0]=[5,4,1.25,3,.5,1.5,2,6,4.5],w[1]=[1.5,7,20,2.5,25,2,15,8],w[2]=[1.25,1.5,2,.5,5,4.5,3],w[3]=[2,2.5,1.25,1.5,4,7,12,3],w[4]=[.5,5,7,13.5,10,15,20];for(let d=0,a,t,k,m,b,r,f,e,h,$,i,I,M=0,s,o,A=0;d<this.nbQuestions&&A<50;){switch(parseInt(D[d])){case 1:N[M]?(h=j[d],e=[C(),q()],$=n(0,g[h].length-1),i=g[h][$],m=new P(w[h][$]*(1+n(1,2)*.2*n(-1,1))).toDP(2),t=n(2,5),f=m.mul(t),r=t*n(2,5),k=m.mul(r),s=`${e[0]} buys ${H[h]} of ${i}.<br>`,s+=`She leaves with ${t} ${i} for $${p(f)}$${l()}€.<br> ${e[1]} buys ${r} in the same place ${i} for $${p(k)}$${l()}€.<br>`,s+=`Is the price of ${i}s proportional to the quantity purchased?<br>`,o=`${e[0]} spends $${x(p(f),"blue")}$${l()}€.<br>`,o+=`${e[1]} purchased $${x(Math.round(r/t))}$ times the quantity of ${i} purchased by ${e[0]} for $${x(p(f),"blue")}$${l()}€.<br>`,o+=`He paid $${p(k)}$${l()}€ $=${x(Math.round(r/t))}\\times${x(p(f),"blue")}$${l()}€.<br>`,o+=`Using this data, we see that the price of ${i}s and their quantity are both multiplied by the same number, so these two quantities are proportional.<br>`,y="Yes"):(h=j[d],e=[C(),q()],$=n(0,g[h].length-1),i=g[h][$],m=new P(w[h][$]*(1+n(1,2)*.2*n(-1,1))).toDP(2),t=n(2,5),f=m.mul(t),r=t*n(2,5),k=m.sub(.1).mul(r).toDP(2),s=`${e[0]} buys ${H[h]} of ${i}.`,s+=`She got ${t} ${i} for $${p(f)}${l()}$${l()}€. ${e[1]} buys ${r}${l()}${i} in the same place for $${p(k)}$${l()}€.<br>`,s+=`Is the price of ${i}s proportional to the quantity purchased?<br>`,o=`${e[0]} spends $${x(p(f),"blue")}$${l()}${l()}€.<br>`,o+=`${e[1]} purchased $${x(Math.round(r/t))}$ times the quantity of ${i} purchased by ${e[0]} for $${x(p(f),"blue")}$${l()}€.<br>`,o+=`He paid $${p(k)}$${l()}€.<br>But $${x(Math.round(r/t))}\\times${x(p(f),"blue")}$${l()}€ $=${p(f.mul(r).div(t))}$${l()}€.<br>`,o+=`Using these data, we see that the unit price of ${i} is not the same for ${e[0]} who purchased $${t}$ as for ${e[1]} who purchased ${r}, so these two quantities are not proportional.<br>`,y="No"),M+=1;break;case 2:e=[C(),q()],a=n(5,20),t=n(5,20,a)*100,a=a*100,b=Math.round(a*(1+n(0,2)*.2)/60),r=Math.round(t*(1+n(0,2)*.2)/60),h=new P(a).div(b),$=new P(t).div(r),s=`${e[0]} lives $${T(a,0)}$ m from the college. It takes her ${b} minutes to get there from her home.<br>`,s+=`${e[1]} lives $${T(t,0)}$ m from the college. It takes ${r} minutes to get there from home.<br>`,s+="Are the travel times to come to college proportional to the distances traveled?<br>",o=`${e[0]} travels through ${a} m in ${b} minutes, or approximately $\\dfrac{${a}\\text{ m}}{${b}\\text{ min}} ${h.eq(h.toDP(1))?"=":"\\approx"} ${T(h.toDP(1),1)}\\text{ m}/_{\\text{ min}}$`,o+=` and ${e[1]} travels ${t} m in ${r} minutes, i.e. approximately $\\dfrac{${t}\\text{ m}}{${r}\\text{ min}} ${$.eq($.toDP(1))?"=":"\\approx"} ${T($.toDP(1))}\\text{ m}/_{\\text{ min}} $.<br>`,h.eq($)?(o+="For these two students, the time taken and the distance traveled are proportional (if we compare their average speed).",y="Yes"):(o+="The distance traveled in one minute (average speed) is not the same in these two situations, so there is no proportionality.<br>",y="No");break;case 3:e=[C(),q()],a=n(5,20),t=a+n(25,35),s=`${e[0]} just turned ${a} this year. His father ${e[1]} has just celebrated his ${t}th birthday.<br>`,s+=`Is his father's age proportional to ${e[0]}'s age?<br>`,o=`Today, the age difference between ${e[0]} and ${e[1]} is of ${t-a} years.<br>`,o+=`${e[0]} a ${a} years today. In ${a} years, ${e[0]} will have ${2*a} years (${a} + ${a}), that is to say double today.<br>`,o+=`His father ${e[1]} who is currently ${t} years old will be ${a+t} years old that year (${t}+${a}).<br>`,o+=`When ${e[0]}'s age doubles, ${e[1]}'s age does not double, so ${e[0]}'s age and his father's age are not proportional.<br>`,o+=`In ${a} years, the age difference will remain the same: ${a+t} - ${2*a} = ${t-a}.`,y="No";break;case 4:h=n(0,5),$=n(0,4),s=`An epidemic is spreading in the city of ${z[h]}.`,s+=` The number of sick people ${F[$]} every ${$+2} day.<br>`,s+="Is the number of patients proportional to the number of",s+="days passed since the start of the epidemic?<br>",o=`Let's say there are 10 patients on the first day. On ${3+$}e day there will be $10 \\times ${$+2} = ${10*($+2)}$ sick.<br>`,o+=`Between the 1st day and the ${3+$}e day, the number of patients is multiplied by ${$+2} but the number of days is multiplied by ${3+$}.<br>`,o+="So the number of sick people is not proportional to the number of days spent.<br>",y="No";break;case 5:e=[C(),q()],h=n(0,5),i=g[4][h],$=n(0,4),m=new P(w[4][h]*(1+n(1,2)*.2*n(-1,1))).toDP(2),b=n(2,6),r=n(0,3),c[0]=[b,m.mul(b)],c[1]=[b+1,m.mul(b+1)],c[2]=[2*b+1,m.mul(2*b+1)],c[3]=[3*b+3,m.mul(3*b+3)],I=N[M],M+=1,I||(c[r][1]=c[r][1].sub(1)),s=`${e[1]} collects ${i} prices from a mail-order catalog based on the quantity entered in the basket. `,s+="He notes the prices in the following table:<br> <br>",s+="$\\def\\arraystretch{1.5}\\begin{array}{|c";for(let u=0;u<=c.length;u++)s+="|c";s+=`|}\\hline \\text{${i}}`;for(let u=0;u<c.length;u++)s+=`&${c[u][0]}`;s+=`\\\\\\hline \\text{Price (in $${l()}€$})`;for(let u=0;u<c.length;u++)s+=`&${p(c[u][1])}`;s+="\\\\\\hline\\end{array}$<br> <br>",s+=`Is the price of ${i} proportional to the quantity purchased?<br>`,o=`We can calculate the unit price of ${i}s in each scenario:<br><br>`,I?v=E(3):v=E(3,[r]),o+="$";for(let u=0;u<v.length;u++)o+=`\\dfrac{${p(c[v[u]][1])}\\text{ ${l()}€}}{${c[v[u]][0]}\\text{ ${i}}}=`;o+=`${p(m)}\\text{ ${l()}€}/_{\\text{${i.substring(0,i.length-1)}}}$<br><br>`,I?(o+=`The price of ${i}s is proportional to their number.<br>`,y="Yes"):(o+=`Mais $\\dfrac{${p(c[r][1])}\\text{ ${l()}€}}{${c[r][0]}\\text{ ${i}}}
            =${p(c[r][1].div(c[r][0]).toDP(2))}\\text{ ${l()}€}/_{\\text{${i.substring(0,i.length-1)}}}$.<br>`,o+=`The price of ${i}s is not proportional to their number.<br>`,y="No");break}this.questionJamaisPosee(d,a,t,r,k,m,D[d])&&((this.interactif||Q.isAmc)&&(this.autoCorrection[d]={},this.autoCorrection[d].options={ordered:!0},this.autoCorrection[d].enonce=`${s}
`,this.autoCorrection[d].propositions=[{texte:"Yes",statut:y!=="No"},{texte:"No",statut:y!=="Yes"},{texte:"I don't know",statut:!1}],this.interactif&&(s+=L(this,d).texte)),this.listeQuestions.push(s),this.listeCorrections.push(o),d++),A++}S(this)},this.besoinFormulaireTexte=["Type of questions",`Numbers separated by hyphens
1: Purchase
2: Distance
3: Age
4: Epidemic
5: Catalog (proportionality table)
6: Combination`]}export{Z as amcReady,ee as amcType,oe as default,K as interactifReady,X as interactifType,se as ref,G as titre,te as uuid};
//# sourceMappingURL=6P10-qa-o7MTx.js.map