summaryrefslogtreecommitdiff
path: root/1484/CH1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1484/CH1
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 '1484/CH1')
-rwxr-xr-x1484/CH1/EX1.1/1_1.sce10
-rwxr-xr-x1484/CH1/EX1.10/1_10.sce12
-rwxr-xr-x1484/CH1/EX1.11/1_11.sce15
-rwxr-xr-x1484/CH1/EX1.12/1_12.sce21
-rwxr-xr-x1484/CH1/EX1.13/1_13.sce16
-rwxr-xr-x1484/CH1/EX1.14/1_14.sce15
-rwxr-xr-x1484/CH1/EX1.15/1_15.sce14
-rwxr-xr-x1484/CH1/EX1.16/1_16.sce12
-rwxr-xr-x1484/CH1/EX1.17/1_17.sce7
-rwxr-xr-x1484/CH1/EX1.18/1_18.sce12
-rwxr-xr-x1484/CH1/EX1.19/1_19.sce11
-rwxr-xr-x1484/CH1/EX1.2/1_2.sce12
-rwxr-xr-x1484/CH1/EX1.22/1_22.sce17
-rwxr-xr-x1484/CH1/EX1.25/1_25.sce19
-rwxr-xr-x1484/CH1/EX1.26/1_26.sce15
-rwxr-xr-x1484/CH1/EX1.27/1_27.sce15
-rwxr-xr-x1484/CH1/EX1.3/1_3.sce14
-rwxr-xr-x1484/CH1/EX1.4/1_4.sce13
-rwxr-xr-x1484/CH1/EX1.5/1_5.sce9
-rwxr-xr-x1484/CH1/EX1.6/1_6.sce14
-rwxr-xr-x1484/CH1/EX1.7/1_7.sce10
-rwxr-xr-x1484/CH1/EX1.8/1_8.sce14
-rwxr-xr-x1484/CH1/EX1.9/1_9.sce17
23 files changed, 314 insertions, 0 deletions
diff --git a/1484/CH1/EX1.1/1_1.sce b/1484/CH1/EX1.1/1_1.sce
new file mode 100755
index 000000000..38f5ccef1
--- /dev/null
+++ b/1484/CH1/EX1.1/1_1.sce
@@ -0,0 +1,10 @@
+clc
+//initialisation of variables
+Ar= 50 //in^2
+Ap= 1/8 //in^2
+Wp= 5 //lbs
+//CALCULATIONS
+Pp= Wp/Ap
+F= Pp*Ar
+//RESULTS
+printf ('weight supported by ram = %.f lbs',F)
diff --git a/1484/CH1/EX1.10/1_10.sce b/1484/CH1/EX1.10/1_10.sce
new file mode 100755
index 000000000..b0281ab69
--- /dev/null
+++ b/1484/CH1/EX1.10/1_10.sce
@@ -0,0 +1,12 @@
+clc
+//initialisation of variables
+w= 3 //ft
+h= 15 //ft
+d= 140 //lbs/ft^3
+x= 6 //in
+W= 62.4 //lbs/ft^3
+//CALCULATIONS
+W1= h*w*d
+h= (W1*x*6/(W*12))^(1/3)
+//RESULTS
+printf (' height of water rise = %.2f ft',h)
diff --git a/1484/CH1/EX1.11/1_11.sce b/1484/CH1/EX1.11/1_11.sce
new file mode 100755
index 000000000..51e57b9ef
--- /dev/null
+++ b/1484/CH1/EX1.11/1_11.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+h= 5 //ft
+d= 6 //ft
+a= 30 //degrees
+w= 62.4 //lbs/ft^3
+//CALCULATIONS
+A= %pi*d^2/4
+X= h+(d/2)*sind(a)
+P= w*A*X
+Ic= %pi*d^4/64
+I0= Ic+A*X^2/(sind(a))^2
+h= I0*(sind(a))^2/(A*X)
+//CALCULATIONS
+printf ('depth of the centre os pressure= %.2f ft ',h)
diff --git a/1484/CH1/EX1.12/1_12.sce b/1484/CH1/EX1.12/1_12.sce
new file mode 100755
index 000000000..b3bce8196
--- /dev/null
+++ b/1484/CH1/EX1.12/1_12.sce
@@ -0,0 +1,21 @@
+clc
+//initialisation of variables
+w= 4 //ft
+l= 4 //ft
+X= 10 //ft
+a= 45 //degrees
+W= 100 //lbs
+a1= 60 //degrees
+w1= 62.4 //lbs/ft^3
+//CALCULATIONS
+A= w*l
+X1= X+(w/2)*sind(a)
+Ig= w*l^3/12
+I0= Ig+(A*X1^2/(sind(a))^2)
+h= I0*(sind(a))^2/(A*X1)
+P= w1*A*X1
+h1= h-X
+h2= h1/sind(a)
+T= (W*(l/2)*sind(a)+P*h2)/(w*sind(a1))
+//RESULTS
+printf ('Pull in the chain= %.f lbs ',T)
diff --git a/1484/CH1/EX1.13/1_13.sce b/1484/CH1/EX1.13/1_13.sce
new file mode 100755
index 000000000..3d76f7299
--- /dev/null
+++ b/1484/CH1/EX1.13/1_13.sce
@@ -0,0 +1,16 @@
+
+clc
+//initialisation of variables
+w= 4 //ft
+l= 4 //ft
+X= 10 //ft
+a = 45 //degrees
+W= 62.4 //lbs/ft^3
+u= 0.25
+//CALCULATIONS
+A= w*l
+X1= X+(w/2)*sind(a)
+P= W*A*X1
+T= u*P
+//RESULTS
+printf ('magnitude of the lifting force= %.f lbs ',T)
diff --git a/1484/CH1/EX1.14/1_14.sce b/1484/CH1/EX1.14/1_14.sce
new file mode 100755
index 000000000..bf6d7f373
--- /dev/null
+++ b/1484/CH1/EX1.14/1_14.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+w= 62.4 //lbs/ft^3
+sg= 1.6
+h= 10 //ft
+h1= 4 //ft
+//CALCULATIONS
+D= w*sg
+W= w*(h+h1)^2/2
+P= w*h
+P1= D*h1
+P2= (P*h/2)+P*h1+(h1*P1/2)
+y= ((P*h*(h1+(h/3))/2)+P*h1*(h1/2)+P1*h1^2/6)/P2
+//RESULTS
+printf ('Position where P acts= %.1f ft above the base',y)
diff --git a/1484/CH1/EX1.15/1_15.sce b/1484/CH1/EX1.15/1_15.sce
new file mode 100755
index 000000000..ac0fe85c9
--- /dev/null
+++ b/1484/CH1/EX1.15/1_15.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+pa= 10 //lbs/in^2
+h= 8 //ft
+h1= 6 //ft
+w= 62.4 //lbs/ft^3
+pg= 10 //lbs/in^2
+//CALCULATIONS
+Pa= pa*144
+Pa1= w*h1
+Pt= (Pa*h+Pa1*(h1/2))
+y= (Pa*h*(h/2)+(Pa1*h1*(h-h1)/2))/Pt
+//RESULTS
+printf ('Depth of the centre of pressure= %.2f ft from the base',y)
diff --git a/1484/CH1/EX1.16/1_16.sce b/1484/CH1/EX1.16/1_16.sce
new file mode 100755
index 000000000..ebca0c67a
--- /dev/null
+++ b/1484/CH1/EX1.16/1_16.sce
@@ -0,0 +1,12 @@
+clc
+//initialisation of variables
+d= 4 //ft
+h= 6 //in
+//CALCULATIONS
+A= %pi*d^2/4
+X= (h-d)
+I0= (%pi*d^4/64)+4*%pi*(X)^2
+h1= I0/(A*X)
+h2= d-h1
+//RESULTS
+printf ('Depth of the axis be placed in order= %.1f ft ',h2)
diff --git a/1484/CH1/EX1.17/1_17.sce b/1484/CH1/EX1.17/1_17.sce
new file mode 100755
index 000000000..0fd10ab8a
--- /dev/null
+++ b/1484/CH1/EX1.17/1_17.sce
@@ -0,0 +1,7 @@
+clc
+//initialisation of variables
+h= 10 //ft
+//CALCULATIONS
+x= sqrt(h^2/2)
+//RESULTS
+printf ('Depth of the axis be placed in order= %.2f ft ',x)
diff --git a/1484/CH1/EX1.18/1_18.sce b/1484/CH1/EX1.18/1_18.sce
new file mode 100755
index 000000000..62ba168b6
--- /dev/null
+++ b/1484/CH1/EX1.18/1_18.sce
@@ -0,0 +1,12 @@
+clc
+//initialisation of variables
+h= 8 //ft
+h1= 10 //ft
+//CALCULATIONS
+A= h
+X= (h1/2)
+Ig= h^3/12
+I0= Ig+A*X^2
+h2= I0/(A*X)
+//RESULTS
+printf ('depth at which the hinge of the shutter= %.2f ft ',h2)
diff --git a/1484/CH1/EX1.19/1_19.sce b/1484/CH1/EX1.19/1_19.sce
new file mode 100755
index 000000000..557e1803a
--- /dev/null
+++ b/1484/CH1/EX1.19/1_19.sce
@@ -0,0 +1,11 @@
+clc
+//initialisation of variables
+k1= 1 //ft
+k2= 35.98 //ft
+k3= 66.83 //ft
+//CALCULATIONS
+x=poly(0,"x")
+vec=roots(k1*x^3-k2*x+k3)
+X= vec (2)
+//RESULTS
+printf ('depth of the water= %.2f ft',X)
diff --git a/1484/CH1/EX1.2/1_2.sce b/1484/CH1/EX1.2/1_2.sce
new file mode 100755
index 000000000..277c6bb2f
--- /dev/null
+++ b/1484/CH1/EX1.2/1_2.sce
@@ -0,0 +1,12 @@
+clc
+//initialisation of variables
+Dp= 1 //in
+Dr= 10 //in
+R= 12
+W= 15 //tons
+//CALCULATIONS
+Ar= %pi*Dr^2/4
+Ap= %pi*Dp^2/4
+P= W*2240/((Ar/Ap)*R)
+//RESULTS
+printf ('power applied to lever = %.f lbs',P)
diff --git a/1484/CH1/EX1.22/1_22.sce b/1484/CH1/EX1.22/1_22.sce
new file mode 100755
index 000000000..e288849a5
--- /dev/null
+++ b/1484/CH1/EX1.22/1_22.sce
@@ -0,0 +1,17 @@
+clc
+//initialisation of variables
+d= 8 //ft
+d1= 2 //ft
+h= 4 //ft
+h1= 2 //ft
+w= 62.4 //lbs/ft^3
+//CALCULATIONS
+A1= %pi*d^2/4
+A2= %pi*d1^2/4
+A= A1-A2
+x= (A1*d-A2*(d+h-h1))/A
+P= w*A*x
+Ig= ((%pi*d^4/64)+(A1*(d-x)^2))-((%pi*d1^4/64)+(A2*(h1+d-x)^2))
+h2= (Ig/(A*x))+x
+//RESULTS
+printf ('depth of the centre of the pressure= %.1f ft ',h2)
diff --git a/1484/CH1/EX1.25/1_25.sce b/1484/CH1/EX1.25/1_25.sce
new file mode 100755
index 000000000..6abf22ec2
--- /dev/null
+++ b/1484/CH1/EX1.25/1_25.sce
@@ -0,0 +1,19 @@
+clc
+//initialisation of variables
+W= 62.4 //lbs/ft^3
+a= 140 //degrees
+h= 20 //ft
+w= 6 //ft
+h1= 17 //ft
+h2= 5 //ft
+//CALCULATIONS
+P1= W*h1^2*w/2
+P2= W*h2^2*w/2
+P= P1-P2
+y= (P1*(h1/3)-P2*(h2/3))/P
+R= P/(2*sind((180-a)/2))
+Rt= y*R/h
+Rb= R-Rt
+//RESULTS
+printf ('Rt= %.f lbs ',Rt)
+printf ('\n Rb= %.f lbs ',Rb)
diff --git a/1484/CH1/EX1.26/1_26.sce b/1484/CH1/EX1.26/1_26.sce
new file mode 100755
index 000000000..7960e14ea
--- /dev/null
+++ b/1484/CH1/EX1.26/1_26.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+w= 64 //lbs/ft^3
+h= 12 //ft
+l= 9 //ft
+a= 45 //degrees
+//CALCULATIONS
+P= w*h^2/2
+h1= h/3
+Rb= P*h1/l
+Ra= P-Rb
+Wh= Rb*h1
+T= Wh/sind(a)
+//RESULTS
+printf ('Load on the strut= %.f lbs ',T)
diff --git a/1484/CH1/EX1.27/1_27.sce b/1484/CH1/EX1.27/1_27.sce
new file mode 100755
index 000000000..507081e60
--- /dev/null
+++ b/1484/CH1/EX1.27/1_27.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+w= 62.4 //lbs/ft^3
+h= 9 //ft
+l= 10 //ft
+//CALCULATIONS
+P= w*h^2/2
+h1= h/3
+Ra= P/2
+x= (w*4*h^2/9)/Ra
+x1= x+(h/3)
+hb= h1-x
+W= Ra*l
+//RESULTS
+printf ('magnitude od total in each beam= %.f lbs ',W)
diff --git a/1484/CH1/EX1.3/1_3.sce b/1484/CH1/EX1.3/1_3.sce
new file mode 100755
index 000000000..00266713e
--- /dev/null
+++ b/1484/CH1/EX1.3/1_3.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+Dj= 1 //in
+Dr= 2 //in
+W= 40 //lbs
+W1= 1 //ton
+rl= 20
+//CALCULATIONS
+Ap= %pi*Dj^2/4
+Ar= %pi*Dr^2/4
+Vrj= rl*Ar/Ap
+e= W1*2240*100/(W*Vrj)
+//RESULTS
+printf ('efficiency of machine at this load = %.f percent',e)
diff --git a/1484/CH1/EX1.4/1_4.sce b/1484/CH1/EX1.4/1_4.sce
new file mode 100755
index 000000000..f9af9a567
--- /dev/null
+++ b/1484/CH1/EX1.4/1_4.sce
@@ -0,0 +1,13 @@
+clc
+//initialisation of variables
+Dj= 1 //in
+Dr= 2 //in
+ns= 3 //strokes
+h= 2 //ft
+//CALCULATIONS
+Ap= %pi*Dj^2/4
+Ar= %pi*Dr^2/4
+Vrj= Ar/Ap
+ns1= h*12*Vrj/ns
+//RESULTS
+printf (' working strokes = %.f strokes',ns1)
diff --git a/1484/CH1/EX1.5/1_5.sce b/1484/CH1/EX1.5/1_5.sce
new file mode 100755
index 000000000..7949a494a
--- /dev/null
+++ b/1484/CH1/EX1.5/1_5.sce
@@ -0,0 +1,9 @@
+clc
+//initialisation of variables
+T= 40 //F
+w= 62.4 //lbs/ft^3
+h= 50 //ft
+//CALCULATIONS
+p= w*h/(12^2)
+//RESULTS
+printf (' pressure at a depth of 50 ft = %.2f lbs per in',p)
diff --git a/1484/CH1/EX1.6/1_6.sce b/1484/CH1/EX1.6/1_6.sce
new file mode 100755
index 000000000..2ceea1feb
--- /dev/null
+++ b/1484/CH1/EX1.6/1_6.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+W= 64 //lbs/ft^3
+h1= 27 //ft
+h2= 9 //ft
+w= 40 //ft
+//CALCULATIONS
+Pr= w*W*h1*h1/2
+Pl= w*W*h2*h2/2
+y1= h1/3
+y2= h2/3
+y= (Pr*y1-Pl*y2)/(Pr-Pl)
+//RESULTS
+printf (' point of application = %.2f ft',y)
diff --git a/1484/CH1/EX1.7/1_7.sce b/1484/CH1/EX1.7/1_7.sce
new file mode 100755
index 000000000..e11b449d0
--- /dev/null
+++ b/1484/CH1/EX1.7/1_7.sce
@@ -0,0 +1,10 @@
+clc
+//initialisation of variables
+d= 5 //ft
+x= 3 //ft
+w= 62.4 //lb/ft^3
+a= 90 //degrees
+//CALCULATIONS
+h= ((%pi*d^4/64)+(x^2*%pi*d^2/4))/(%pi*d^2*x/4)
+//RESULTS
+printf ('depth of the pressure= %.2f ft',h)
diff --git a/1484/CH1/EX1.8/1_8.sce b/1484/CH1/EX1.8/1_8.sce
new file mode 100755
index 000000000..4c42a74ec
--- /dev/null
+++ b/1484/CH1/EX1.8/1_8.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+w= 3 //ft
+h= 4 //ft
+ht= 30 //ft
+W= 62.4 //ft^3
+//CALCULATIONS
+Ap= w*h
+X= ht+(h/2)
+P= Ap*X*W
+I0= (w*h^3/12)+Ap*X^2
+H= I0/(Ap*X)
+//RESULTS
+printf (' total pressure on the gate = %.2f ft',H)
diff --git a/1484/CH1/EX1.9/1_9.sce b/1484/CH1/EX1.9/1_9.sce
new file mode 100755
index 000000000..0f1525ee0
--- /dev/null
+++ b/1484/CH1/EX1.9/1_9.sce
@@ -0,0 +1,17 @@
+clc
+//initialisation of variables
+w= 3 //ft
+h= 4 //ft
+ht= 30 //ft
+W= 62.4 //ft^3
+x= 2.22 //in
+x1= 4.5 //in
+//CALCULATIONS
+Ap= w*h
+X= ht+(h/2)
+P= Ap*X*W
+T= P*x/x1
+T1= P-T
+//RESULTS
+printf (' tension devoloped in the top bolt = %.f lbs',T)
+printf (' \n tension devoloped in the bottom bolt = %.f lbs',T1)