diff options
Diffstat (limited to '1808/CH3/EX3.3/Chapter3_Exampl3.sce')
-rw-r--r-- | 1808/CH3/EX3.3/Chapter3_Exampl3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1808/CH3/EX3.3/Chapter3_Exampl3.sce b/1808/CH3/EX3.3/Chapter3_Exampl3.sce new file mode 100644 index 000000000..7e7c863b4 --- /dev/null +++ b/1808/CH3/EX3.3/Chapter3_Exampl3.sce @@ -0,0 +1,16 @@ +clc
+clear
+//INPUT DATA
+Tl=300;//engine temprature in Degree C
+Th=1500;//engine temprature in Degree C
+Fc=0.45;//Fuel consumption in kg/hr
+cv=40000//kJ/kg
+wd=4;//workdone in kW
+
+//CALCULATIONS
+nc=((Th-Tl)/(Th+273))*100;//Efficiency of carnot cycle in percentage
+Qs=Fc*cv;//Heat is added in kJ/min
+na=(wd/(Qs))*(3600*100);//efficiency developed by scientist in percentage
+
+//OUTPUT
+printf('(a)Efficiency of carnot cycle is %3.2f percentage \n (b)efficiency developed by scientist is %3.i percentage',nc,na)
|