diff options
Diffstat (limited to '3428/CH21/EX14.21.17/Ex14_21_17.sce')
-rw-r--r-- | 3428/CH21/EX14.21.17/Ex14_21_17.sce | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/3428/CH21/EX14.21.17/Ex14_21_17.sce b/3428/CH21/EX14.21.17/Ex14_21_17.sce index 5de637d7f..511388b60 100644 --- a/3428/CH21/EX14.21.17/Ex14_21_17.sce +++ b/3428/CH21/EX14.21.17/Ex14_21_17.sce @@ -1,14 +1,14 @@ //Section-14,Example-4,Page no.-PC.31
//To calculate pressure using ideal gas equation and vanderwall`s gas equation.
clc;
-n=12
-R=0.0821
-T=298
-V=10.0
+n=12 //moles
+R=0.0821 //Latm/molK
+T=298 //K
+V=10.0 //L
P_1=((n*R*T)/V)
disp(P_1,'Pressure from ideal gas equation(atm)')
-a=1.49
-b=0.0399
+a=1.49 //atm/mol^2
+b=0.0399 //L/mol
P_2=(((n*R*T)/(V-(n*b)))-((a*n^2)/(V^2)))
disp(P_2,'Pressure from Vander walls gas equation(atm)')
|