summaryrefslogtreecommitdiff
path: root/1439/CH9/EX9.6/9_6.sce
blob: 24ea0dead14af38ae3d70972aa1cd995f53b0a56 (plain)
1
2
3
4
5
6
7
8
9
10
clc 
//initialisation of variables
R= 0.08205 //l-atm mole^-1 deg^-1
T= 250 //C
n= 0.1 //mole
Kp= 1.78 
//CALCULATIONS
x= n+(n^2*R*(273.1+T)/Kp)
//RESULTS
printf ('x= %.3f mole ',x)