summaryrefslogtreecommitdiff
path: root/551/CH5/EX5.7/7.sce
diff options
context:
space:
mode:
Diffstat (limited to '551/CH5/EX5.7/7.sce')
-rwxr-xr-x551/CH5/EX5.7/7.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/551/CH5/EX5.7/7.sce b/551/CH5/EX5.7/7.sce
new file mode 100755
index 000000000..c546f811e
--- /dev/null
+++ b/551/CH5/EX5.7/7.sce
@@ -0,0 +1,23 @@
+clc
+T1=523; //K
+T2=258; //K
+Q1=90; //kJ
+
+n=1-T2/T1;
+disp("(i) Efficiency of the system")
+disp(n*100)
+disp("%")
+
+
+disp("(ii) The net work transfer")
+W=n*Q1;
+disp("W=")
+disp(W)
+disp("kJ")
+
+
+disp("(iii) Heat rejected to the sink")
+Q2=Q1-W;
+disp("Q2=")
+disp(Q2)
+disp("kJ") \ No newline at end of file