summaryrefslogtreecommitdiff
path: root/2969/CH4/EX4.15/Ex4_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '2969/CH4/EX4.15/Ex4_15.sce')
-rwxr-xr-x2969/CH4/EX4.15/Ex4_15.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2969/CH4/EX4.15/Ex4_15.sce b/2969/CH4/EX4.15/Ex4_15.sce
new file mode 100755
index 000000000..67f7ac228
--- /dev/null
+++ b/2969/CH4/EX4.15/Ex4_15.sce
@@ -0,0 +1,17 @@
+clc
+clear
+//DATA GIVEN
+p=120; //pressure of steam
+v=0.01721; //specific volume of steam
+
+//At 120 bar, from steam tables
+vg=0.0143; //m^3/kg
+//since vg<v, the steam is superheated
+//so from superheat tables at 120 bar and v=0.01721 m^3/kg
+T=350; //deg. celsius
+h=2847.7; //specific enthalpy of steam
+u=h-p*10^5*v/10^3; //specific internal energy of steam
+
+printf(' (i) The Temperature is: %3.0f deg celsius. \n',T);
+printf(' (ii) The Specific enthalpy h is: %4.1f kJ/kg. \n',h);
+printf('(iii) The Specific internal energy u is: %4.2f kJ/kg. \n',u);