summaryrefslogtreecommitdiff
path: root/1958/CH6/EX6.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1958/CH6/EX6.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1958/CH6/EX6.2')
-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)