summaryrefslogtreecommitdiff
path: root/1571/CH3/EX3.6/Chapter3_Example6.sce
blob: d8fae081ce21c37450c655ee91fb96ce03b15fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clc
clear

//INPUT DATA 
w=26.6;//work done one horse in to raise the temperature in lb
T1=32;//temperature at initial in deg.F
T2=212;//temperature at final in deg.F
t=2.5;//time to raise the tmperature in hrs
p=25;//percentage of heat lossed 

//CALCULATIONS
//let x ft-lb per min be the rate at which horse worked//total work done in ft-lb wt W=x*150
//amount of heat generated in lb deg.F H=W/778
//only 75% of heat is utillised
x=w*180*100*778/((100-p)*150);//the rate at which horse worked

//OUTPUT
mprintf('the rate at which horse worked is %3.0f ft-lb wt/min',x)