diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1388/CH4 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1388/CH4')
-rwxr-xr-x | 1388/CH4/EX4.26/4_26.sce | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/1388/CH4/EX4.26/4_26.sce b/1388/CH4/EX4.26/4_26.sce index aecc42694..29a4514cc 100755 --- a/1388/CH4/EX4.26/4_26.sce +++ b/1388/CH4/EX4.26/4_26.sce @@ -1,15 +1,16 @@ -clc
-//initialisation of variables
-H= 1436.3 //cal mole^-1
-d= 0.9999 //g ml^-1
-d1= 0.9168 //g ml^-1
-P= 1 //atm
-m= 18.02 //gm
-R= 1.987 //cal/mole K
-T= 2 //C
-//CALCULATIONS
-V= (p/d)-(p/d1)
-H1= H*82.05/(m*R)
-P1= H1*(-T)/(273*V)
-//RESULTS
-printf (' pressure required to decrease= %.f atm',P1)
+clc +clear +//initialisation of variables +H= 1436.3 //cal mole^-1 +d= 0.9999 //g ml^-1 +d1= 0.9168 //g ml^-1 +P= 1 //atm +m= 18.02 //gm +R= 1.987 //cal/mole K +T= 2 //C +//CALCULATIONS +V= (P/d)-(P/d1) +H1= H*82.05/(m*R) +P1= H1*(-T)/(273*V) +//RESULTS +printf (' pressure required to decrease= %.f atm',P1)
\ No newline at end of file |