summaryrefslogtreecommitdiff
path: root/3685/CH22/EX22.1/Ex22_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH22/EX22.1/Ex22_1.sce')
-rw-r--r--3685/CH22/EX22.1/Ex22_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3685/CH22/EX22.1/Ex22_1.sce b/3685/CH22/EX22.1/Ex22_1.sce
new file mode 100644
index 000000000..404e43817
--- /dev/null
+++ b/3685/CH22/EX22.1/Ex22_1.sce
@@ -0,0 +1,14 @@
+clc
+// Given that
+p = 1.013e5 // Pressure in Pa
+t = 300 // Temperature in K
+d = 3.5 // Effective diameter of oxygen molecule in Angstrom
+r = 2 // Ratio of free path of molecules with the lambda
+printf("\n Example 22.1 \n")
+sigma = %pi*(d*(10^-10))^2
+n = p/(t*1.38*(10^-23))
+lambda = 0.707/(sigma*n)
+R = exp(-r)
+printf("\n Mean free path = %e m,\n The fraction of molecules have free path longer than 2*lambda = %f percent",lambda,R*100)
+// Answer given in the book contain round off error for mean free path.
+