summaryrefslogtreecommitdiff
path: root/1442/CH12/EX12.1/12_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1442/CH12/EX12.1/12_1.sce')
-rwxr-xr-x1442/CH12/EX12.1/12_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1442/CH12/EX12.1/12_1.sce b/1442/CH12/EX12.1/12_1.sce
new file mode 100755
index 000000000..44c935b0d
--- /dev/null
+++ b/1442/CH12/EX12.1/12_1.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+x= 0.78
+x1= 0.21
+x2= 0.008
+x3= 0.002
+MN2= 28.013 //gms
+MO2= 32 //gms
+MAr= 39.948 //gms
+MH2O= 18.016 //gms
+//CALCULATIONS
+M= x*MN2+x1*MO2+x2*MAr+x3*MH2O
+//RESULTS
+printf (' molecular wight of air= %.3f kg/kmol',M)