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/betaProbabilitesJC-ZzUeuawv.js
import{E as h,Z as n,ar as f,o as i,l as C}from"./index-ajJ0B2-K.js";import{A as e,t}from"./arbres-4eooGdiw.js";const g="Probabilités simples";function P(){h.call(this),this.sup=!0,this.consigne="",this.nbQuestionsModifiable=!1,this.nbCols=2,this.nbColsCorr=1,this.tailleDiaporama=3,this.video="";const o=new e({racine:!0,rationnel:this.sup,nom:"\\Omega",proba:n(1),enfants:[new e({rationnel:this.sup,nom:"Pile",proba:n(.5),enfants:[new e({rationnel:this.sup,nom:"B",proba:n(.5)}),new e({rationnel:this.sup,nom:"R",proba:n(1,3)}),new e({rationnel:this.sup,nom:"V",proba:n(1,6)})]}),new e({rationnel:this.sup,nom:"Face",proba:n(.5),enfants:[new e({rationnel:this.sup,nom:"B",proba:n(1,3)}),new e({rationnel:this.sup,nom:"R",proba:n(1,6)}),new e({rationnel:this.sup,nom:"V",proba:n(.5)})]})]}),s=new e({racine:!0,rationnel:!1,nom:"",proba:1,visible:!1,alter:"",enfants:[new e({rationnel:!1,nom:"A",proba:.2,enfants:[new e({rationnel:!1,nom:"C",proba:f(.6)}),new e({rationnel:!1,nom:"\\bar C",proba:.4})]}),new e({rationnel:!1,nom:"\\bar A",proba:.8,enfants:[new e({rationnel:!1,nom:"C",proba:.45,visible:!1,alter:"x"}),new e({rationnel:!1,nom:"\\bar C",proba:.55,visible:!1,alter:"1 - x"})]})]});this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];let a="",r="";o.setTailles(),s.setTailles();const l=o.getProba("B",!0),b=o.getProba("R",!0),p=o.getProba("V",!0),u=s.getProba("C",!1);console.log(`P(B) = ${t(l,!0)}`),console.log(`P(R) = ${t(b,!0)}`),console.log(`P(V) = ${t(p,!0)}`),console.log(`P(C) = ${t(u,!1)}`);const m=o.represente(0,15,0,3,!0,-1);a+=i({xmin:-15,xmax:1,ymin:-2,ymax:15,style:"inline"},...m);const c=s.represente(0,0,0,3,!1,1);a+=i({xmin:0,xmax:18,ymin:0,ymax:17,style:"inline"},...c),r+="et ceci est la correction",this.listeQuestions.push(a),this.listeCorrections.push(r),C(this)},this.besoinFormulaireCaseACocher=["Proba rationnelle",!0]}export{P as default,g as titre};
//# sourceMappingURL=betaProbabilitesJC-ZzUeuawv.js.map