summaryrefslogtreecommitdiff
path: root/3012/CH2/EX2.4/Ex2_4.sce
blob: 2b7ea36c7ba421b841b5f7194fbe39252bccbfa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Given:-
w1dot = -60.0                // input work rate in KW
h = 0.171                    // heat transfer coefficient,unit in KW/m2 .K
A = 1.0                      // outer surface area of gearbox, unit in m2
Tb = 300.0                   // outer surface temperature in kelvin
Tf = 293.0                   // temperature of the sorrounding

// Calculations
Qdot = -h*A*(Tb-Tf);         // rate of energy transfer by heat
wdot = Qdot;                 // steady state energy equation
w2dot = wdot-w1dot;

// Results
printf( 'The heat transfer rate in KW is:\n\tQdot =  %f',Qdot)
printf( 'The power delivered through output shaft in KW is: = %f',w2dot);