diff options
Diffstat (limited to '167/CH6/EX6.2/ex2.sce')
-rwxr-xr-x | 167/CH6/EX6.2/ex2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/167/CH6/EX6.2/ex2.sce b/167/CH6/EX6.2/ex2.sce new file mode 100755 index 000000000..d94f71fe9 --- /dev/null +++ b/167/CH6/EX6.2/ex2.sce @@ -0,0 +1,10 @@ +//ques2
+//Fuel Consumption Rate of a Car
+clear
+clc
+W=65;//power of car engine in hp
+n=0.24;//efficiency of car engine
+Qh=W/n*2545;//heat of reservoir in Btu/h
+r=19000;//output power required in Btu/lbm
+m=Qh/r;//rate of burning of fuel required , in lbm/hour
+printf('To supply energy at this rate, the engine must burn fuel at a rate of = %.1f lbm/h',m);
|