summaryrefslogtreecommitdiff
path: root/172/CH6/EX6.5/ex5.sce
blob: b93f21942bd7d27790a64d098ca8d530a89d6d2b (plain)
1
2
3
4
5
6
7
8
9
10
//example 5
//quality of ammonia leaving expansion valve
clear
clc
hi=346.8 //specific heat enthalpy for ammonia at initial state in kJ/kg
he=hi //specific heat enthalpy for ammonia at final state will be equal that at initial state because it is a throttling process
hf=134.4 //at final state in kJ/kg
hfg=1296.4//at final state in kJ/kg
xe=(he-hf)/hfg //quality at final state
printf("\n hence,quality of the ammonia leaving the expansion valve is xe=%.4f. \n",xe')