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/1F10-gd0dyusr.js
import{E as k,aj as v,r as e,v as $,x as R,g as p,am as u,l as D,cd as y,ac as C,cc as g}from"./index-XCg2QAX4.js";const h={simplify:y,parse:C,derivative:g},Q="Derivative calculations",q="2af1c",T="1F10";function w(){k.call(this),this.titre=Q,this.consigne="For each of the following functions, say on which set it is differentiable, then determine the expression of its derived function. ",this.nbQuestions=6,this.nbCols=2,this.nbColsCorr=2,this.sup=1;const o=h.simplify.rules.slice();o.splice(o.findIndex(n=>n.l==="n1*n2 + n2"),1),o.splice(o.findIndex(n=>n.l==="n1*n3 + n2*n3"),1),this.nouvelleVersion=function(){this.sup=Number(this.sup),this.listeQuestions=[],this.listeCorrections=[],this.liste_valeurs=[];let n;this.sup===1?n=["ax+b","a","ax2+bx+c","xn","xn+xm","1/x","xn+1/x","1/xn","xn+1/xm","root(s)"]:this.sup===2?n=["ax+b","axn","a/x","a/xn","root(ax)"]:n=["ax+b","axn","a/x","a/xn","root(ax)"];const d=v(n,this.nbQuestions);for(let r=0,l,c,i,b,f,a,x,s,t,m=0;r<this.nbQuestions&&m<50;){switch(d[r]){case"a":i=e(-10,10,0),s=`${i}`,t="\\mathbb{R}";break;case"ax+b":i=e(-10,10,0),b=e(-10,10,0),s=`${i}x ${p(b)}`,t="\\mathbb{R}";break;case"ax2+bx+c":i=e(-10,10,0),b=e(-10,10,0),f=e(-10,10,0),s=`${$(i)} x^2 ${R(b)} x ${p(f)}`,t="\\mathbb{R}";break;case"xn":a=e(2,10),s=`x^${a}`,t="\\mathbb{R}";break;case"xn+1/x":a=e(2,10),s=`x^${a}+1/x`,t="\\mathbb{R}^{\\text{*}}";break;case"xn+1/xm":a=e(2,10),x=e(2,10,x),s=`x^${a}+1/x^${x}`,t="\\mathbb{R}^{\\text{*}}";break;case"xn+xm":a=e(2,10),x=e(2,10,x),s=`x^${a}+x^${x}`,t="\\mathbb{R}";break;case"axn":i=e(-10,10,[0,1,-1]),a=e(2,10),s=`${i}x^${a}`,t="\\mathbb{R}";break;case"1/x":s="1/x",t="\\mathbb{R}^{\\text{*}}";break;case"a/x":i=e(-10,10,[0,1]),s=`${i}/x`,t="\\mathbb{R}^{\\text{*}}";break;case"1/xn":a=e(2,10),s=`1/x^${a}`,t="\\mathbb{R}^{\\text{*}}";break;case"a/xn":i=e(-10,10,[1,0]),a=e(2,10),s=`${i}/x^${a}`,t="\\mathbb{R}^{\\text{*}}";break;case"root(s)":s="sqrt(x)",t="]0,+\\infty[";break;case"root(ax)":i=e(2,10,[4,9]),s=`sqrt(${$(i)}x)`,t="]0,+\\infty[";break}l=`$${u(r+6)}:x\\longmapsto ${h.parse(s).toTex({implicit:"hide"}).replaceAll("\\cdot","")}$`,c=`$${u(r+6)}$ is differentiable on $${t}$ and $ ${u(r+6)}':x\\longmapsto ${h.simplify(h.derivative(s,"x"),o).toTex({implicit:"hide"}).replaceAll("\\cdot","")}$`,l=l.replaceAll("frac","dfrac"),c=c.replaceAll("frac","dfrac"),this.liste_valeurs.indexOf(s)===-1&&(this.liste_valeurs.push(s),this.listeQuestions.push(l),this.listeCorrections.push(c),r++),m++}D(this)},this.besoinFormulaireNumerique=["Difficulty level",2,`1: Basic functions 
2: ku`]}export{w as default,T as ref,Q as titre,q as uuid};
//# sourceMappingURL=1F10-gd0dyusr.js.map