diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH5/EX5.4/Chapter5_Exampl4.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1808/CH5/EX5.4/Chapter5_Exampl4.sce')
-rw-r--r-- | 1808/CH5/EX5.4/Chapter5_Exampl4.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/1808/CH5/EX5.4/Chapter5_Exampl4.sce b/1808/CH5/EX5.4/Chapter5_Exampl4.sce new file mode 100644 index 000000000..79f9596e5 --- /dev/null +++ b/1808/CH5/EX5.4/Chapter5_Exampl4.sce @@ -0,0 +1,28 @@ +clc
+clear
+//INPUT DATA
+n=1.35;//for cylinders
+p1=1;//pressure in bar
+v1=1;//volume in m^3
+p2=7;//pressure in bar
+nm=0.85;//mechanical efficiency in percentage
+nt=0.9;//Turbine efficiency in percentage
+N=300;//speed in rpm
+
+//CALCULATIONS
+//(a)single acting cylinder
+ip1=((n/(n-1))*p1*10^2*v1*(((p2/p1)^((n-1)/n))-1))/60;//indicated power in kW
+bp1=ip1/nm;//brake power in kW
+mp1=bp1/nt;//motor power in kW
+d1=((v1*4/(1.5*N*3.14))^(1/3))*100;//cylinder bore in single acting cylinder in cm
+l1=(1.5)*d1;//stroke in cm
+
+//Double acting cylinder
+d2=((v1*4/(1.5*N*2*3.14))^(1/3))*100;//cylinder bore in double acting cylinder
+l2=1.5*d2;//stroke in cm
+
+//OUTPUT
+printf('(a)Single acting cylinder \n (i)Indicated power is %3.3f kW \n (ii)Power input to the compressor %3.3f kW \n (iii) cylinder bore in single acting cylinder is %3.4f cm \n stroke is %3.2f cm \n',ip1,mp1,d1,l1)
+
+printf('(a)Double acting cylinder \n (i)Indicated power is %3.3f kW \n (ii)Power input to the compressor %3.3f kW \n (iii) cylinder bore in double acting cylinder is %3.4f cm \n stroke is %3.2f cm',ip1,mp1,d2,l2)
+
|