From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2507/CH10/EX10.6/Ex10_6.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 2507/CH10/EX10.6/Ex10_6.sce (limited to '2507/CH10/EX10.6') diff --git a/2507/CH10/EX10.6/Ex10_6.sce b/2507/CH10/EX10.6/Ex10_6.sce new file mode 100755 index 000000000..17bb4ce2c --- /dev/null +++ b/2507/CH10/EX10.6/Ex10_6.sce @@ -0,0 +1,18 @@ +clc +clear +printf("Example 10.6 | Page number 353 \n\n"); +//Find all properties of steam +//Given Data +p = 12 //bar //pressure of steam leaving boiler +h = 2705 //kJ/kg //Enthalpy of steam +//Solution +//From pressure based saturated property table, at p = 12bar +hf = 798.64 //kJ/kg +hg = 2784.8 //kJ/kg +x = (h-hf)/(hg-hf) //Dryness fraction +v = (1-x)*0.001139 + (x)*0.1633 //m^3/kg +s = (1-x)*2.2165 + (x)*6.5233 //m^3/kgK +u = h - p*v*100 //kJ/kg +printf("Volume per kg water = %.6f m^3/kg\n",v) +printf("Internal energy per kg water = %.1f kJ/kg\n",u) +printf("Entropy per kg water = %.4f kJ/kgK",s) -- cgit