summaryrefslogtreecommitdiff
path: root/1388/CH4/EX4.24
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1388/CH4/EX4.24
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1388/CH4/EX4.24')
-rwxr-xr-x1388/CH4/EX4.24/4_24.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1388/CH4/EX4.24/4_24.sce b/1388/CH4/EX4.24/4_24.sce
new file mode 100755
index 000000000..421411309
--- /dev/null
+++ b/1388/CH4/EX4.24/4_24.sce
@@ -0,0 +1,20 @@
+clc
+//initialisation of variables
+b= 0.0386 //l^2 atm mole^-1
+a= 1.348 //l mole^-1
+R= 0.08205 //cal /mole K
+T= 25 //C
+a1= 3.61 //l^2 atm mole^-1
+b1= 0.0428 //l mole^-1
+P= 50 //atm
+P1= 1 //atm
+//CALCULATIONS
+Bn= b-(a/(R*(273.2+T)))
+Bc= b1-(a1/(R*(273.2+T)))
+Fn= P1^(Bn*P1/(R*(273.2+T)))
+Fc= P1^(Bc*P1/(R*(273.2+T)))
+Fn1= P*%e^(Bn*P/(R*(273.2+T)))
+Fc1= P*%e^(Bc*P/(R*(273.2+T)))
+//RESULTS
+printf (' Fugacity of N2= %.2f atm',Fn1)
+printf (' \n Fugacity of CO1= %.2f atm',Fc1)