blob: 2090a27eba088327a5b843c690a0e2d75d98a69e (
plain)
1
2
3
4
5
6
7
8
9
|
clc
//Initialization of variables
hp=10000 //hp
v=100 //lbm/sec
//calculations
W=hp*550/v
enthalpy=W/778
//results
printf("Decrease in stagnation enthalpy= %.1f B/lbm",enthalpy)
|