summaryrefslogtreecommitdiff
path: root/3821/CH9/EX9.3/Example9_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3821/CH9/EX9.3/Example9_3.sce')
-rw-r--r--3821/CH9/EX9.3/Example9_3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3821/CH9/EX9.3/Example9_3.sce b/3821/CH9/EX9.3/Example9_3.sce
new file mode 100644
index 000000000..220b60b4c
--- /dev/null
+++ b/3821/CH9/EX9.3/Example9_3.sce
@@ -0,0 +1,18 @@
+///Chapter 9 Law Of Thermodynamics
+///Example 9.3 Page No:166
+/// Find Magnitude and direction of the third heat interation
+///input data
+clc;
+clear;
+W1=-20; //Work interaction to the fluid in KJ
+W2=42; //Work interaction from the fluid in KJ
+Q1=85; //Heat interaction to the fluid in KJ
+Q2=85; //Heat interaction to the fluid in KJ
+Q3=-50; //Heat interaction from the fluid in KJ
+
+///Calculation
+W3=((Q1+Q2+Q3)-(W1+W2)); //Magnitude and direction of the third heat interation
+
+
+///Output
+printf('Magnitude and direction of the third heat interation=%f KJ \n',W3);