diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1466/CH21 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1466/CH21')
-rwxr-xr-x | 1466/CH21/EX21.1/21_1.sce | 22 | ||||
-rwxr-xr-x | 1466/CH21/EX21.2/21_2.sce | 15 | ||||
-rwxr-xr-x | 1466/CH21/EX21.3/21_3.sce | 17 | ||||
-rwxr-xr-x | 1466/CH21/EX21.4/21_4.sce | 34 | ||||
-rwxr-xr-x | 1466/CH21/EX21.5/21_5.sce | 33 |
5 files changed, 121 insertions, 0 deletions
diff --git a/1466/CH21/EX21.1/21_1.sce b/1466/CH21/EX21.1/21_1.sce new file mode 100755 index 000000000..fa94d04d6 --- /dev/null +++ b/1466/CH21/EX21.1/21_1.sce @@ -0,0 +1,22 @@ +
+
+
+clc
+//initialisation of variables
+clear
+a=1.5//ft^2
+toh=40//ft
+sp=60//rpm
+//CALCULATIONS
+v=a*1
+thv=v*sp/60
+li=550//gal/min
+av=550/(60*6.24)
+slip=(a-av)*100/a
+cds=100-slip
+thp=10*toh/60
+//RESULTS
+printf ('slip = %.f per cent',slip)
+printf ('\n coefficient of discharge = %.f per cent',cds)
+printf ('\n Total pressure head = %.f ft of water',toh)
+printf ('\n Theoretical horse-power = %.2f ',thp)
diff --git a/1466/CH21/EX21.2/21_2.sce b/1466/CH21/EX21.2/21_2.sce new file mode 100755 index 000000000..0086901c8 --- /dev/null +++ b/1466/CH21/EX21.2/21_2.sce @@ -0,0 +1,15 @@ +
+clc
+//initialisation of variables
+l=30//ft
+g=32.2//ft/sec^2
+d=5//ft
+d1=3//ft
+r=0.5
+rp=30//rpm
+Hs=10//ft
+//CALCULATIONS
+Ha=l*d*d*((2*%pi*rp)^2)*r/(g*d1*d1*60*60)
+phead=34-Hs-Ha
+//RESULTS
+printf ('\n pressure head in cylinder= %.2f ',phead)
diff --git a/1466/CH21/EX21.3/21_3.sce b/1466/CH21/EX21.3/21_3.sce new file mode 100755 index 000000000..f905ff5db --- /dev/null +++ b/1466/CH21/EX21.3/21_3.sce @@ -0,0 +1,17 @@ +
+clc
+//initialisation of variables
+Hd=100//ft
+k=8//ft
+ld=100//ft
+g=32.2//ft/sec^2
+d=6//ft
+d1=3//ft
+r=1
+//CALCULATIONS
+Ha=Hd+34-k
+w=sqrt(Ha*g*d1*d1/(ld*d*d))
+n=w*60/(2*%pi)
+//RESULTS
+printf ('\n maximum speed= %.1f r p m',n)
+
diff --git a/1466/CH21/EX21.4/21_4.sce b/1466/CH21/EX21.4/21_4.sce new file mode 100755 index 000000000..25304e30a --- /dev/null +++ b/1466/CH21/EX21.4/21_4.sce @@ -0,0 +1,34 @@ +
+
+clc
+//initialisation of variables
+clear
+Ls=20//ft
+g=32.2//ft/sec^2
+d1=6//in
+d2=3//in
+s1=30//rpm
+r=0.5
+f=0.01
+ds=0.25
+Hs=15//ft
+ld=120//ft
+Hd=100//ft
+//CALCULATIONS
+Ha=Ls*(d1/d2)^2*(2*%pi*s1/60)^2*r/g
+hfs=(4*f*Ls*((d1/d2)^2*2*%pi*s1*r/60)^2)/(ds*2*g)
+pb=Hs+Ha
+pe=Hs-Ha
+pm=Hs+hfs
+nHa=ld*(d1/d2)^2*(2*%pi*s1/60)^2*r/g
+hfd=(4*f*ld*((d1/d2)^2*2*%pi*s1*r/60)^2)/(ds*2*g)
+npb=Hd+nHa
+npe=Hd-nHa
+npm=Hd+hfd
+W=2*g*%pi*r*r/4
+w1=W*(Hs+(2*hfs/3))
+w2=W*(Hd+(2*hfd)/3)
+hp=(w1+w2)*s1/33000
+//RESULTS
+printf ('Pressure at middle of stroke = %.2f ft of water',pm)
+printf ('\n Horse power required= %.2f ',hp-0.05)
diff --git a/1466/CH21/EX21.5/21_5.sce b/1466/CH21/EX21.5/21_5.sce new file mode 100755 index 000000000..df7790c65 --- /dev/null +++ b/1466/CH21/EX21.5/21_5.sce @@ -0,0 +1,33 @@ +
+clc
+//initialisation of variables
+d1=9//in
+d2=6//in
+Ls=40//ft
+g=32.2//ft/sec^2
+s1=20//rpm
+r=7.5/12
+Hs=10//ft
+k=0.125
+f=0.01
+ls1=35//ft
+ds=0.5
+lv=0.5//ft
+//CALCULATIONS
+Ha=(d1/d2)^2*Ls*(2*%pi*s1/60)^2*r/g
+tph=Hs+Ha
+nHa=Ha*(1+k)
+ntph=Hs+nHa
+vs=(d1/d2)^2*2*r*s1/60
+hf=4*f*ls1*vs*vs/(ds*2*g)
+nHa1=((d1/d2)^2*lv*(2*%pi*s1/60)*r*2.1)/(g)
+tpc=Hs+nHa1+hf
+nHa2=nHa1*(1+(k))*10
+tpc1=Hs+nHa2+hf
+//RESULTS
+printf ('Total pressure head in cylinder= %.2f ft of water below atm',tph)
+printf ('\n Total pressure head in cylinder = %.2f ft of water below atm',ntph)
+printf ('\n Total pressure head in cylinder = %.3f ft of water below atm',tpc)
+printf ('\n Total pressure head in cylinder = %.3f ft of water below atm',tpc1)
+
+//ANSWER for 3rd question is wrong in the textbook
|