summaryrefslogtreecommitdiff
path: root/1457/CH13/EX13.1/13_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1457/CH13/EX13.1/13_1.sce')
-rwxr-xr-x1457/CH13/EX13.1/13_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1457/CH13/EX13.1/13_1.sce b/1457/CH13/EX13.1/13_1.sce
new file mode 100755
index 000000000..f11040763
--- /dev/null
+++ b/1457/CH13/EX13.1/13_1.sce
@@ -0,0 +1,14 @@
+clc
+//Initialization of variables
+ken=0.5
+kex=0.2
+f=0.0018
+l=10 //ft
+dia=3 //in
+z1=8
+z2=5
+//calculations
+x1=ken+kex+f*l*12/dia
+t=35.5*2/3 *(z1^(3/2) - z2^(3/2))
+//results
+printf("Time reqired = %d s",t)