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.25/Chapter5_Exampl25.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.25/Chapter5_Exampl25.sce')
-rw-r--r-- | 1808/CH5/EX5.25/Chapter5_Exampl25.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/1808/CH5/EX5.25/Chapter5_Exampl25.sce b/1808/CH5/EX5.25/Chapter5_Exampl25.sce new file mode 100644 index 000000000..8bea75c3f --- /dev/null +++ b/1808/CH5/EX5.25/Chapter5_Exampl25.sce @@ -0,0 +1,26 @@ +clc
+clear
+//INPUT DATA
+n=1.4;//index of compression
+m=0.1436;//mass of air
+R=0.287;//gas constant
+t1=283;//temperature in K
+t2=303;//temperature in K
+p1=1;//pressure in bar
+pd=30;//delivery pressure in bar
+v1=0.1167;//volume in m^3/s
+nm=0.9;//mechanical efficiency in percentage
+
+//CALCULATIONS
+ip=(n/(n-1))*m*R*((2*sqrt(t1*t2)*((pd/p1)^((n-1)/(2*n))))-(t1+t2));//power required for a compound air compressor
+bp=ip/nm;//Brake power in kW
+
+//OUTPUT
+printf('(i)power required for a compound air compressor %3.4f kW \n (ii)Brake power is %3.2f kW',ip,bp)
+
+
+
+
+
+
+
|