diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2741/CH5/EX5.24/Chapter5_Example24.sce | |
download | Scilab-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.24/Chapter5_Example24.sce')
-rwxr-xr-x | 2741/CH5/EX5.24/Chapter5_Example24.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2741/CH5/EX5.24/Chapter5_Example24.sce b/2741/CH5/EX5.24/Chapter5_Example24.sce new file mode 100755 index 000000000..ec0bf9e08 --- /dev/null +++ b/2741/CH5/EX5.24/Chapter5_Example24.sce @@ -0,0 +1,17 @@ +clc
+clear
+//Input data
+p=760;//The given pressure in mm of Hg
+T=273;//The temperature of the chamber in K
+V=22400;//The volume of the gas at N.T.P in cc
+p1=10^-6;//The pressure in the chamber in mm of mercury pressure
+N=6.023*10^23;//The Avogadro number
+d=2*10^-8;//Molecular diameter in cm
+pi=3.14;//Mathematical constant of pi
+
+//Calculations
+n=(N*p1)/(V*p);//The number of molecules per cm^3 in the chamber in molecules/cm^3
+L=1/(pi*(d)^2*n);//The mean free path of the gas molecules in the chamber in cm
+
+//Output
+printf('The mean free path of gas molecules in a chamber is %3.4g cm ',L)
|