summaryrefslogtreecommitdiff
path: root/172/CH7/EX7.1/ex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '172/CH7/EX7.1/ex1.sce')
-rwxr-xr-x172/CH7/EX7.1/ex1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/172/CH7/EX7.1/ex1.sce b/172/CH7/EX7.1/ex1.sce
new file mode 100755
index 000000000..b750cc0a9
--- /dev/null
+++ b/172/CH7/EX7.1/ex1.sce
@@ -0,0 +1,12 @@
+//example 1
+//rate of fuel consumption
+clear
+clc
+W=136*0.7355 //output of automobile engine in kW
+neng=0.3 //thermal efficiency of automobile engine
+Qh=W/neng //energy output of fuel in kW
+Ql=Qh-W //total rate of energy rejected to the ambient
+qh=35000 //energy output of fuel in kJ/kg
+m=Qh/qh //rate of fuel consumption in kg/s
+printf("\n hence,total rate of energy rejected is Ql=%.0f kW.\n",Ql)
+printf("\n and rate of fuel consumption is m=%.4f kg/s.\n",m) \ No newline at end of file