blob: 62aad12a64557d31076a1fc945382bede4efbda2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc
//initialisation of variables
t=77//F
u1=640//ft
u2=12.5//ft
u3=85//ft
p=47//ft
v=82//ft
h=60.5//ft
a=1066//ft
w=2202000//ft
//CALCULATIONS
E=u1+u2*u3+p*v+h*a+w//Btu
//RESULTS
printf('the left hand side of this equation=% f Btu',w)
|