summaryrefslogtreecommitdiff
path: root/172/CH6/EX6.5
diff options
context:
space:
mode:
Diffstat (limited to '172/CH6/EX6.5')
-rwxr-xr-x172/CH6/EX6.5/ex5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/172/CH6/EX6.5/ex5.sce b/172/CH6/EX6.5/ex5.sce
new file mode 100755
index 000000000..b93f21942
--- /dev/null
+++ b/172/CH6/EX6.5/ex5.sce
@@ -0,0 +1,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') \ No newline at end of file