blob: 2205cdccebd29e9e2a270fcec8b33dae31bd798d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
clear
//INPUT
l=964.8;//latent heat of steam in B.Th.U per lb
q=4*15*l*778;//heat developed in ft lbs
w=30000*60;//work done is ft lbs
//CALCULATIONS
n=(w/q)*100;//efficiency of the engine
p=100-n;//percentage of heat wasted
//OUTPUT
mprintf('the percentage of the heat wasted is %3.2f',p)
|