summaryrefslogtreecommitdiff
path: root/2741/CH5/EX5.22
diff options
context:
space:
mode:
Diffstat (limited to '2741/CH5/EX5.22')
-rwxr-xr-x2741/CH5/EX5.22/Chapter5_Example22.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2741/CH5/EX5.22/Chapter5_Example22.sce b/2741/CH5/EX5.22/Chapter5_Example22.sce
new file mode 100755
index 000000000..cdf65f829
--- /dev/null
+++ b/2741/CH5/EX5.22/Chapter5_Example22.sce
@@ -0,0 +1,12 @@
+clc
+clear
+//Input data
+n=2.25*10^-4;//The viscosity of the gas in dynes/cm^2
+C=4.5*10^4;//The RMS velocity of the molecules in cm/s
+d=10^-3;//The density of the gas in g/cc
+
+//Calculations
+L=(3*n)/(d*C);//The mean free path of the molecules in cm
+
+//Output
+printf('The mean free path of the molecules is %3g cm ',L)