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.6 | |
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.6')
-rwxr-xr-x | 1919/CH11/EX11.6/Ex11_6.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/1919/CH11/EX11.6/Ex11_6.sce b/1919/CH11/EX11.6/Ex11_6.sce new file mode 100755 index 000000000..338ae2f83 --- /dev/null +++ b/1919/CH11/EX11.6/Ex11_6.sce @@ -0,0 +1,24 @@ +
+// Theory and Problems of Thermodynamics
+// Chapter 11
+// Kinetic Theory of Gases
+// Example 6
+clear ;clc;
+
+//Given data
+V = 1.2 // X-component velocity lower range
+
+// Caluclations
+// The fraction of molecules with positive x-component of velocity = 0.5
+F_mol = 0.5
+
+// F = (1/sqrt(%pi))integrate(exp(-X^2),'X',0,1.2)
+
+F_0 = 0.5*erf(V)
+
+// The fraction of molecules with positive X-Component of velocity greater then 1.2Vmp
+F_12 = F_mol - F_0
+
+
+// Output results
+mprintf('The fraction of molecules with positive X-Component of velocity greater then 1.2Vmp = %4.4f', F_12)
|