Gina A. Tran

Ceng 402 Project for Dr. Davis

Spring 1999

Table 16.1-1, page 498

Notation for Concentrations in Binary Systems

> restart;

> rho:=array(1..2);

Setting up a vector for the mass density of each species.

[Maple Math]

> rho_total:=sum(rho[i],i=1..2);

Relation A , the mass density of solution (g/cm cubed).

[Maple Math]

> omega:=array(1..2);M:=array(1..2);c:=array(1..2);

Setting up vectors for mass fractions (unitless), molecular weights (g/mol), and molar concentrations (mol/cm cubed) for each species.

[Maple Math]

[Maple Math]

[Maple Math]

> for k from 1 to 2 do rho[k]:=c[k]*M[k] od;

Relation B , the mass concentration of each species (g/cm cubed of solution).

[Maple Math]

[Maple Math]

> for k from 1 to 2 do omega[k]:=rho[k]/rho_total od;

Relation C , the mass fraction of each species (unitless).

[Maple Math]

[Maple Math]

> c_total:=sum(c[i],i=1..2);

Relation D , the molar density of solution (mol/cm cubed).

[Maple Math]

> for k from 1 to 2 do c[k]:=rho[k]/M[k] od;

Relation E , molar concentration of each species (mol/cm cubed).

[Maple Math]

[Maple Math]

> x:=array(1..2);

Setting up a vector of the mole fractions of each species.

[Maple Math]

> for k from 1 to 2 do x[k]:=c[k]/c_total od;

Relation F , the mole fraction of each species (unitless).

[Maple Math]

[Maple Math]

> mean_M:=rho_total/c_total;

Relation G , the number-mean molecular weight of mixture (mol/g).

[Maple Math]

> relation_H:=sum(x[i],i=1..2);

[Maple Math]

> simplify(relation_H);

Relation H , summing the mole fractions of each species equals one.

[Maple Math]

> relation_I:=sum(omega[i],i=1..2);

[Maple Math]

> simplify(relation_I);

Relation I , summing the mass fractions of each species equals one.

[Maple Math]

> relation_J:=sum(x[i]*M[i],i=1..2);

[Maple Math]

> simplify(relation_J-mean_M);

Relation J , the mass fraction multiplied by the molecular weights of each respective species equals the mean molecular weight of the solution.

[Maple Math]

> relation_K:=sum(omega[i]/M[i],i=1..2);

[Maple Math]

> simplify(relation_K-1/mean_M);

Relation K , summing the mass fractions of each species divided by the respective molecular weight is equal to one divided by the total molecular weight.

[Maple Math]

> book_L:=(omega[1]/M[1])/sum(omega[i]/M[i],i=1..2);

[Maple Math]

> relation_L:=x[1]-book_L;

[Maple Math]

> simplify(relation_L);

Relation L is true because the mole fraction for each species is equivalent to the book's equation for L.

[Maple Math]

> relation_M:=(x[1]*M[1])/(x[1]*M[1]+x[2]*M[2]);

[Maple Math]

> simplify(omega[1]-relation_M);

Relation M , showing that the mass fraction is equal to the mole fraction multiplied by the molecular weight, then divided by the number-mean molecular weight of the mixture.

[Maple Math]

> x[1];

Showing the mole fraction for first species again. Note that x[1] depends on c[1] and c[2].

[Maple Math]

> omega[1];

Mass fraction for first species.

[Maple Math]

> d_x:=array(1..2);

Setting up a vector for the differential equations of x (mole fraction) with respect to omega (mass fraction).

[Maple Math]

> d_x[1]:=diff(x[1],c[1]);

Keeping c[2] constant.

[Maple Math]

> d_omega:=array(1..2);

Setting up a vector for the differential equations of omega (mass fraction) with respect to x (mole fraction).

[Maple Math]

> d_omega[1]:=diff(omega[1],c[1]);

Again, keeping c[2] constant.

[Maple Math]

> relation_N:=d_omega[1]/(M[1]*M[2]*(sum(omega[i]/M[i],i=1..2)^2));

Starting the proof of Relation N.

[Maple Math]

> simplify(d_x[1]-relation_N);

Relation N is true when compared to the differential equation of x (mole fraction).

[Maple Math]

> relation_O:=(d_x[1]*M[1]*M[2])/((x[1]*M[1]+x[2]*M[2])^2);

Starting the proof of Relation O.

[Maple Math]

> simplify(d_omega[1]-relation_O);

Relation O is true when compared to the differential equation of omega (mass fraction).

[Maple Math]