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/3F12-6D_cBlde.js
import{E as D,c as h,aN as L,r as m,b4 as o,ju as r,m as n,cH as y,l as Q}from"./index-ajJ0B2-K.js";import{a as w,b as C}from"./machines-Ja0svy8c.js";import{S as v}from"./macroSvgJs-oEdhSxdZ.js";const A="Calculate images in different ways using a function",F="02116",M="3F12";function _(){D.call(this),this.sup=1,this.titre=A,this.consigne="",this.consigne+="Calculate the images with the requested method.",h.isHtml?this.spacing=2:this.spacing=1,h.isHtml?this.spacingCorr=2:this.spacingCorr=1,this.nbQuestions=4,this.nbCols=1,this.nbColsCorr=1,this.sup=5;let b,g,u,$;const T="3F12";h.isHtml&&(b="100%"),this.nouvelleVersion=function(f){this.sup=Number(this.sup);let p;this.listeQuestions=[],this.listeCorrections=[];let c=[];this.sup===1?c=[1]:this.sup===2?c=[2]:this.sup===3?c=[3]:this.sup===4?c=[4]:this.sup===5&&(c=[1,2,3,4]);const W=L(c,this.nbQuestions);for(let l=0,e,i,t,a,s,d=0;l<this.nbQuestions&&d<50;){if(p=W[l],h.isHtml){const x=`${T}_${l}_${Date.now()}`;g=`div_svg${f}${x}`,u=`div_svg_corr${f}${x}`}switch(e=m(2,9),i=m(2,9),t=m(2,9),p){case 1:$=0,a="We give the following calculation program which corresponds to a certain function: ",s="With this calculation program: ",h.isHtml?(a+=`<br><div class="ui compact warning message"><p>- Choose a number.<br>- Multiply this number by ${e}.<br>- Add ${i} to the result obtained.<br></p>< /div><br>`,a+=o($)+` Apply this calculation program to the ${t} number.<br>`,s+="<br>"+o($)+`<br><div class="ui compact warning message"><p>- We choose the ${t} number.<br>- We multiply this number by ${e}, i.e. ${e}$\\times$ ${t} = ${e*t}.<br>- We add ${i} to the result obtained, i.e. ${e*t}+${i} = ${e*t+i}.<br></p></div><br>`,$++,a+=o($)+" Translate this calculation into a sentence containing the word image.",s+=o($)+`The image of ${t} by this function is ${e*t+i}.`,s+=`<br> We can also say that ${e*t+i} is the image of ${t} by this function.`):(a+=C(y(["Choose a number.",`Multiply this number by ${e}.`,`Add ${i} to the result obtained.`])),a+=r([`Apply this calculation program to the ${t} number.`,"Translate this calculation into a sentence containing the word image."],this.spacing),s+=r([C(y([`We choose the number ${t}`,`We multiply this number by ${e}: $${e} \\times ${t} = ${e*t}$. `,`We add ${i} to the result obtained: $${e*t}+${i} = ${e*t+i}$.`])),`The image of ${t} by this function is worth ${e*t+i}.<br>We can also say that ${e*t+i} is the image of ${t} by this function.`],this.spacing));break;case 2:$=0,a=`Let $f$ be the function defined by the algebraic expression $f(x)=$ ${e}$x+$${i}.`,h.isHtml?(a+="<br>"+o($)+` Calculate the ${t} image.`,a+="<br>",s=o($)+` Let's calculate the image by $f$ of $x= ${t}$:`,s+=`<br>$f(${n("\\textit{\\textbf{x}}")})= ${e} ${n("\\textit{\\textbf{x}}")}+${i}$`,s+=`<br>$f(${n(t)})= ${e}\\times ${n(t)}+${i}$`,s+=`<br>$f(${n(t)})= ${e*t}+${i}$`,s+=`<br>$f(${n(t)})= ${e*t+i}$`,$++,a+=o($)+" Translate this calculation into a sentence containing the word image.",s+="<br>"+o($)+` The image of ${t} by the function $f$ is worth ${e*t+i}.`,s+=`<br> We can also say that ${e*t+i} is the image of ${t} by the function $f$.`):(a+=r([`Calculate the ${t} image.`,"Translate this calculation into a sentence containing the word image."],this.spacing),s=r([`Let's calculate the image by $f$ of $x= ${t}$:<br>$f(${n("\\textit{\\textbf{x}}")})= ${e} ${n("\\textit{\\textbf{x}}")}+${i}$<br>$f(${n(t)})= ${e}\\times ${n(t)}+${i}$<br>$f(${n(t)})= ${e*t}+${i}$<br>$f(${n(t)})= ${e*t+i}$`,`The image of ${t} by the function $f$ is worth ${e*t+i}.<br> We can also say that ${e*t+i} is the image of ${t} by the function $f$.`],this.spacing));break;case 3:$=0,a=`Let $g$ be the function defined by $g:x\\longmapsto$ ${e}$x+$${i}.`,h.isHtml?(a+="<br>"+o($)+` Calculate the ${t} image.`,a+="<br>",s=o($)+` Let's calculate the image by $g$ of $x= ${t}$:`,s+=`<br>$g:${n("\\textit{\\textbf{x}}")}\\longmapsto ${e} ${n("\\textit{\\textbf{x}}")}+${i}$`,s+=`<br>$g:${n(t)}\\longmapsto ${e}\\times${n(t)}+${i}$`,s+=`<br>$g:${n(t)}\\longmapsto ${e*t}+${i}$`,s+=`<br>$g:${n(t)}\\longmapsto ${e*t+i}$`,$++,a+=o($)+" Translate this calculation into a sentence containing the word image.",s+="<br>"+o($)+` The image of ${t} by the function $g$ is worth ${e*t+i}.`,s+=`<br> We can also say that ${e*t+i} is the image of ${t} by the function $g$.`):(a+=r([`Calculate the ${t} image.`,"Translate this calculation into a sentence containing the word image."],this.spacing),s=r([`Let's calculate the image by $g$ of $x= ${t}$:<br>$g:${n("\\textit{\\textbf{x}}")}\\longmapsto ${e} ${n("\\textit{\\textbf{x}}")}+${i}$<br>$g:${n(t)}\\longmapsto ${e}\\times ${n(t)}+${i}$<br>$g:${n(t)}\\longmapsto ${e*t}+${i}$<br>$g:${n(t)}\\longmapsto ${e*t+i}$`,`The image of ${t} by the function $g$ is worth ${e*t+i}.<br> We can also say that ${e*t+i} is the image of ${t} by the function $g$.`],this.spacing));break;case 4:a="",s="",s+="Calculate with a diagram.",$=0,a+="Let the function $h$ be defined by the diagram: ",h.isHtml?(a+=`<div id="${g}" style="width: ${b}"; height: 50px; display: table ">${v(g,800,100,"h","x",[[""+e,e+"x"],[""+i,e+"x+"+i]])}</div>`,a+=o($)+` Calculate the ${t} image.`,a+="<br>",s+="<br>",s+=o($)+` Let's calculate the image by $h$ of $x=$ ${t}:`,s+=`<div id="${u}" style="width: ${b}"; display: table ">${v(u,800,100,"h",""+t,[[""+e,""+e*t],[""+i,""+(e*t+i)]])}</div>`,$++,a+=o($)+" Translate this calculation into a sentence containing the word image.",s+="<br>"+o($)+` The image of ${t} by the function $h$ is worth ${e*t+i}.`,s+=`<br> We can also say that ${e*t+i} is the image of ${t} by the function $h$.`):(a+="<br>"+w("h","x",[["\\times"+e,e+"x"],["+"+i,e+"x+"+i]]),a+=r([`Calculate the ${t} image.`,"Translate this calculation into a sentence containing the word image."],this.spacing),s=r([`Let's calculate the image by $g$ of $x=$ ${t}:<br>`+w("h",t,[["\\times"+e,e*t],["+"+i,e*t+i]]),`The image of ${t} by the function $g$ is worth ${e*t+i}.<br> We can also say that ${e*t+i} is the image of ${t} by the function $g$.`],this.spacing));break}this.listeQuestions.indexOf(a)===-1&&(this.listeQuestions.push(a),this.listeCorrections.push(s),l++),d++}Q(this)},this.besoinFormulaireNumerique=["Rule to work",5,`1: &Agrave; from a calculation program
2: &Agrave; from the algebraic expression in the form f(x) = ...
3: &Agrave; from the algebraic expression in the form f: x --> ...
4: &Agrave; from a diagram
5: Mixture`]}export{_ as default,M as ref,A as titre,F as uuid};
//# sourceMappingURL=3F12-6D_cBlde.js.map