summaryrefslogtreecommitdiff
path: root/1958/CH6/EX6.2/Chapter6_example2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1958/CH6/EX6.2/Chapter6_example2.sce')
-rwxr-xr-x1958/CH6/EX6.2/Chapter6_example2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1958/CH6/EX6.2/Chapter6_example2.sce b/1958/CH6/EX6.2/Chapter6_example2.sce
new file mode 100755
index 000000000..4f2b9bdc1
--- /dev/null
+++ b/1958/CH6/EX6.2/Chapter6_example2.sce
@@ -0,0 +1,12 @@
+clc
+clear
+//Input data
+n=181*10^-6//Coefficient of viscosity of a gas in p
+v=3*10^4//Average speed of molecules in cm/s
+d=1.2929*10^-3//Density in g/cm^3
+
+//Calculations
+lemda=((3*n)/(d*v))/10^-6//Mean free path in cm*10^-6
+
+//Output
+printf('Mean free path is %3.0f * 10^-6 cm',lemda)