summaryrefslogtreecommitdiff
path: root/167/CH6/EX6.2/ex2.sce
blob: d94f71fe9c332f947433d2bafb9e3cc435b2b2f1 (plain)
1
2
3
4
5
6
7
8
9
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);