summaryrefslogtreecommitdiff
path: root/2507/CH6/EX6.1/Ex6_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2507/CH6/EX6.1/Ex6_1.sce')
-rwxr-xr-x2507/CH6/EX6.1/Ex6_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2507/CH6/EX6.1/Ex6_1.sce b/2507/CH6/EX6.1/Ex6_1.sce
new file mode 100755
index 000000000..6854abbe9
--- /dev/null
+++ b/2507/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,15 @@
+clc
+clear
+printf("Example 6.1 | Page number 148 \n\n");
+//Find the heat rejected at the condensor and thermal efficiency of the plant
+
+//Given Data
+Q1 = 300 //kJ //heat supplied at the boiler
+Wt = 100 //kJ //work output of turbine
+Wp = 0.5 //kJ //work input to pump
+
+//Solution
+Q2 = Q1 - (Wt - Wp) //kJ //heat rejected at the condensor
+printf("Heat rejected at the condensor = %.1f kJ\n",Q2);
+efficiency = 1 - (Q2/Q1)
+printf("The thermal efficiency of plant = %.2f ",efficiency)