diff options
Diffstat (limited to '167/CH5/EX5.6/ex6.sce')
-rwxr-xr-x | 167/CH5/EX5.6/ex6.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/167/CH5/EX5.6/ex6.sce b/167/CH5/EX5.6/ex6.sce new file mode 100755 index 000000000..6fd6e6660 --- /dev/null +++ b/167/CH5/EX5.6/ex6.sce @@ -0,0 +1,10 @@ +//example 6
+//compressing air by compressor
+clear
+clc
+m=0.02 //mass flow rate of the air in kg/s
+qout=16 //heat loss during the process in kJ/kg
+h1=280.13 //specific enthalpy of air at 280K in kJ/kg
+h2=400.98 //specific enthalpy of air at 400K in kJ/kg
+win=m*qout + m*(h2-h1) //power input to compressor in kW
+printf("\n Hence,the power input to the compressor is = %.2f kW. \n",win);
\ No newline at end of file |