summaryrefslogtreecommitdiff
path: root/3250/CH2/EX1.1
diff options
context:
space:
mode:
Diffstat (limited to '3250/CH2/EX1.1')
-rwxr-xr-x3250/CH2/EX1.1/Ex2_1.sce16
-rwxr-xr-x3250/CH2/EX1.1/Ex2_1.txt4
2 files changed, 20 insertions, 0 deletions
diff --git a/3250/CH2/EX1.1/Ex2_1.sce b/3250/CH2/EX1.1/Ex2_1.sce
new file mode 100755
index 000000000..10d3cdb8c
--- /dev/null
+++ b/3250/CH2/EX1.1/Ex2_1.sce
@@ -0,0 +1,16 @@
+clc
+// Given that
+h=15 // Height of spur in cm
+l= 50 // Length of cast in cm
+w= 25 // weidth of cast in cm
+h1= 15 // Height of cast in cm
+g= 981 // Acceleration due to gravity in cm/sec^2
+Ag= 5 // Cross sectional area of the grate in cm^2
+// Sample Problem 1 on page no. 46
+printf("\n # PROBLEM 2.1 # \n")
+v3= sqrt(2* g * h)
+V = l*w*h1
+tf1= V/(Ag*v3)
+Am = l*w
+tf2 = (Am/Ag)*(1/sqrt(2*g))*2*(sqrt(h) - sqrt(h-h1))
+printf("\n Filling time for first design = %f sec, \n Filling time for second design = %f sec", tf1, tf2)
diff --git a/3250/CH2/EX1.1/Ex2_1.txt b/3250/CH2/EX1.1/Ex2_1.txt
new file mode 100755
index 000000000..44e364a5d
--- /dev/null
+++ b/3250/CH2/EX1.1/Ex2_1.txt
@@ -0,0 +1,4 @@
+# PROBLEM 2.1 #
+
+ Filling time for first design = 21.859294 sec,
+ Filling time for second design = 43.718589 sec \ No newline at end of file