summaryrefslogtreecommitdiff
path: root/1394/CH17/EX17.5.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1394/CH17/EX17.5.1
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 '1394/CH17/EX17.5.1')
-rwxr-xr-x1394/CH17/EX17.5.1/Ex17_5_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1394/CH17/EX17.5.1/Ex17_5_1.sce b/1394/CH17/EX17.5.1/Ex17_5_1.sce
new file mode 100755
index 000000000..d992de91a
--- /dev/null
+++ b/1394/CH17/EX17.5.1/Ex17_5_1.sce
@@ -0,0 +1,16 @@
+
+clc
+//intitialization of variables
+d = 5// cm
+v = 200 // cm/sec
+nu = 0.01 // cm^2/sec
+D = 3.2*10^-5 // cm^2/sec
+l = 30*10^-4 // cm
+//Calculations
+Re = d*v/nu // Flow is turbulent
+E = d*v/2 // cm^2/sec
+tou1 = (d^2)/(4*E)// sec
+tou2 = (l^2)/(4*D)
+tou = tou1 + tou2 // sec
+//Results
+printf("The relaxation time is %.2f sec",tou)