summaryrefslogtreecommitdiff
path: root/2873/CH7/EX7.12/Ex7_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '2873/CH7/EX7.12/Ex7_12.sce')
-rwxr-xr-x2873/CH7/EX7.12/Ex7_12.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2873/CH7/EX7.12/Ex7_12.sce b/2873/CH7/EX7.12/Ex7_12.sce
new file mode 100755
index 000000000..a82be9fc1
--- /dev/null
+++ b/2873/CH7/EX7.12/Ex7_12.sce
@@ -0,0 +1,18 @@
+// Display modeK
+mode(0);
+// Display warning for floating point exception
+ieee(1);
+clear;
+clc;
+disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 12")
+h1=4142;//enthalpy at entrance in KJ/kg
+h2=2585;//enthalpy at exit in KJ/kg
+W1=1787;//availability of steam at entrance in KJ/kg
+W2=140;//availability of steam at exit in KJ/kg
+disp("here dead state is given as 300 K and maximum possible work for given change of state of steam can be estimated by the difference of flow availability as given under:")
+disp("W_max=W1-W2 in KJ/kg")
+W_max=W1-W2
+disp("actual work from turbine,W_actual=h1-h2 in KJ/kg")
+W_actual=h1-h2
+disp("so actual work=1557 KJ/kg")
+disp("maximum possible work=1647 KJ/kg")