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/HPC104-7PPbePMR.js
import{M as f}from"./MatriceCarree-rFs_Ninq.js";import{aj as Q,c1 as d,j as m,l as D}from"./index-XCg2QAX4.js";import{E as y}from"./Exercice-FKaS4mj7.js";import{c as M,a as T}from"./create-9DBTQ71r.js";import"./Polynome-CQLyV74s.js";const $=M(T),g="Calcul de déterminant",v="25/10/2021",I="24/10/2021",N="2806f",O="HPC104";class R extends y{constructor(){super(),this.titre=g,this.consigne="Calcul du déterminant d'une matrice carrée",this.nbQuestions=3,this.besoinFormulaireNumerique=["Difficulté",2,`1 : Matrice 2x2
2 : Matrice 3x3`],this.sup=2,this.nbCols=2,this.nbColsCorr=2,this.tailleDiaporama=3,this.video=""}nouvelleVersion(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];let u;this.sup===1?u=["type1"]:u=["type2"];const C=Q(u,this.nbQuestions);for(let t=0,h,l,s,p=0;t<this.nbQuestions&&p<50;){switch(h=[-9,-8,-7,-6,-5,-4,-3,-3,-2,-2,-2,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,3,3,3,4,5,6,7,8,9],C[t]){case"type1":{const e=[],i=d(t+1);let n=0;for(let r=0;r<2;r++){const c=[];for(let a=0;a<2;a++)n=$.pickRandom(h),c.push(n);e.push(c)}const o=new f(e);l=`Calculer le déterminant de la matrice $${i} = ${o.toTex()}$.`,s="",s+=`On calcule $det(${i}) = ${m(e[0][0])} \\times ${m(e[1][1])} - ${m(e[1][0])} \\times ${m(e[0][1])}  = ${o.determinant()}$.`;break}case"type2":{const e=[],i=d(t+1);let n=0;for(let r=0;r<3;r++){const c=[];for(let a=0;a<3;a++)n=$.pickRandom(h),c.push(n);e.push(c)}const o=new f(e);l=`Calculer le déterminant de la matrice $${i} = ${o.toTex()}$.`,s="",s+=`On calcule $det(${i}) = ${o.determinant()}$.`;break}}this.questionJamaisPosee(t,l)&&(this.listeQuestions.push(l),this.listeCorrections.push(s),t++),p++}D(this)}}export{I as dateDeModifImportante,v as dateDePublication,R as default,O as ref,g as titre,N as uuid};
//# sourceMappingURL=HPC104-7PPbePMR.js.map