diff options
Diffstat (limited to '1967/CH12/EX12.2/12_2.sce')
-rwxr-xr-x | 1967/CH12/EX12.2/12_2.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1967/CH12/EX12.2/12_2.sce b/1967/CH12/EX12.2/12_2.sce new file mode 100755 index 000000000..3bc3c81b6 --- /dev/null +++ b/1967/CH12/EX12.2/12_2.sce @@ -0,0 +1,21 @@ +clc
+//initialisation of variables
+clear
+p1= 50 //atm
+p2= 100 //atm
+p3= 200 //atm
+p4= 400 //atm
+r1= 0.98
+r2= 0.97
+r3= 0.98
+r4= 1.07
+//CALCULATIONS
+f1= p1*r1
+f2= p2*r1
+f3= p3*r3
+f4= p4*r4
+//RESULTS
+printf ('fugacity of nitrogen gas = %.f atm',f1)
+printf ('\n fugacity of nitrogen gas = %.f atm',f2)
+printf ('\n fugacity of nitrogen gas = %.f atm',f3)
+printf ('\n fugacity of nitrogen gas = %.f atm',f4)
|