summaryrefslogtreecommitdiff
path: root/2741/CH5/EX5.21
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2741/CH5/EX5.21
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 '2741/CH5/EX5.21')
-rwxr-xr-x2741/CH5/EX5.21/Chapter5_Example21.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2741/CH5/EX5.21/Chapter5_Example21.sce b/2741/CH5/EX5.21/Chapter5_Example21.sce
new file mode 100755
index 000000000..3ec882135
--- /dev/null
+++ b/2741/CH5/EX5.21/Chapter5_Example21.sce
@@ -0,0 +1,19 @@
+clc
+clear
+//Input data
+n=1.66*10^-4;//The viscosity of the gas in dynes/cm^2
+C=4.5*10^4;//The R.M.S velocity of the molecules in cm/s
+d=1.25*10^-3;//The density of the gas in g/cc
+N=6.023*10^23;//The Avogadro number
+V=22400;//The volume of a gas at N.T.P in cc
+pi=3.142;//The mathematical constant of pi
+
+//Calculations
+L=(3*n)/(d*C);//The mean free path of the molecules of the gas in cm
+F=(C/L);//The frequency collision in per sec
+n=N/V;//Number of molecules per cc
+D=1/((1.414*pi*n*L)^(1/2));//Molecular diameter of the gas molecules in cm
+
+//Output
+printf('(1)The mean free path of the molecules of the gas is %3.0g cm \n (2)The frequency of collision is N = %3.0g /sec \n (3)Molecular diameter of the gas molecules is d = %3.0g cm ',L,F,D)
+