summaryrefslogtreecommitdiff
path: root/3821/CH9/EX9.1/Example9_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3821/CH9/EX9.1/Example9_1.sce')
-rw-r--r--3821/CH9/EX9.1/Example9_1.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3821/CH9/EX9.1/Example9_1.sce b/3821/CH9/EX9.1/Example9_1.sce
new file mode 100644
index 000000000..0ed0b5c20
--- /dev/null
+++ b/3821/CH9/EX9.1/Example9_1.sce
@@ -0,0 +1,23 @@
+///Chapter 9 Law Of Thermodynamics
+///Example 9.1 Page No:165
+/// Find Work interaction during the 4th processes
+///Input data
+clc;
+clear;
+Qab=720; //Heat transfer of 1st processes in KJ
+Qbc=-80; //Heat transfer of 2nd processes in KJ
+Qcd=40; //Heat transfer of 3rd processes in KJ
+Qda=-640; //Heat transfer of 4th processes in KJ
+Wab=-90; //Work transfer of 1st processes in KJ
+Wbc=-50; //Work transfer of 2nd processes in KJ
+Wcd=130; //Work transfer of 3rd processes in KJ
+
+
+///Calculation
+///From the 1st law of thermodynamic for close system undergoing a cycle.
+
+//Work interaction during the 4th processes
+Wda=((Qab+Qbc+Qcd+Qda)-(Wab+Wbc+Wcd));
+
+///Output
+printf('Work interaction during the 4th processes= %f KJ \n",Wda);