Mathématiques

Question

Bonjourqu quelquun peux m'aidez un dm de maths à faire et je suis bloque je ne comprends pas du tout
Si vous plaît merci davance
Bonjourqu quelquun peux m'aidez un dm de maths à faire et je suis bloque je ne comprends pas du tout Si vous plaît merci davance

1 Réponse

  • Bonjour
    Voici les parties 4,5,6 en Xcas

    fonction FindCoeff(coef_c,coef_h)
     local LOC_A,INV_LOC_A,LOC_B,LOC_X,t,r,rep;
        purge(LOC_A,LOC_B,LOC_X,INV_LOC_A,t,r,rep);
        LOC_A:=[[coef_c,0,-1],[coef_h,0,0],[0,2,-2]];
        LOC_B:=transpose([0,2*t,t]);
        INV_LOC_A:=inverse(LOC_A);
        LOC_X:=INV_LOC_A*LOC_B;
        r:=lcm(denom(LOC_X[0,0]),denom(LOC_X[1,0]),denom(LOC_X[2,0]) );
        rep:=substituer(LOC_X,t=r);
        retourne rep[0,0],rep[1,0],rep[2,0],r;
    ffonction:;

    assume (x,integer),(y,integer),(z,integer),(t,integer):;
    purge(x,y,z,t):;
    x,y,z,t:=FindCoeff(4,10):;afficher(concat(string(x)," C4H10 +",string(y)," O2 --> ",string(z)," CO2 +",string(t)," H2O" ) );
    x,y,z,t:=FindCoeff(3,8):;afficher(concat(string(x)," C3H8 +",string(y)," O2 --> ",string(z)," CO2 +",string(t)," H2O" ) );