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 /1919/CH11/EX11.2 | |
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 '1919/CH11/EX11.2')
-rwxr-xr-x | 1919/CH11/EX11.2/Ex11_2.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1919/CH11/EX11.2/Ex11_2.sce b/1919/CH11/EX11.2/Ex11_2.sce new file mode 100755 index 000000000..326d2e131 --- /dev/null +++ b/1919/CH11/EX11.2/Ex11_2.sce @@ -0,0 +1,21 @@ +
+// Theory and Problems of Thermodynamics
+// Chapter 11
+// Kinetic Theory of Gases
+// Example 2
+clear ;clc;
+
+//Given data
+P = 0.1 // pressure of helium surface exposed in MPa
+T = 300 // temperature of helium surface exposed in K
+R = 8.314 // gas constant
+M = 4*1e-3 // molecular weight of helium
+k = 1.3804*1e-23 // boltzmann constant
+
+// Calculations
+V = (8*R*T/(%pi*M))^0.5 // average velocity of gas molecule
+n = P*1e6/(k*T) // number of mlucules per m^3
+num_col = 1/4*n*V // number of collisions per m^2 per second
+
+// output results
+mprintf('number of collisions per m^2 per second = %4.4f E+27', num_col*1e-27)
|