summaryrefslogtreecommitdiff
path: root/172/CH9/EX9.3/ex3.sce
diff options
context:
space:
mode:
Diffstat (limited to '172/CH9/EX9.3/ex3.sce')
-rwxr-xr-x172/CH9/EX9.3/ex3.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/172/CH9/EX9.3/ex3.sce b/172/CH9/EX9.3/ex3.sce
new file mode 100755
index 000000000..2b6c3f410
--- /dev/null
+++ b/172/CH9/EX9.3/ex3.sce
@@ -0,0 +1,8 @@
+//example 3
+//violation of second law
+clear
+clc
+disp('from R-134a tables')
+se=1.7148 //specific entropy in final state in kJ/kg-K
+si=1.7395 //initial specific entropy in kJ/kg-K
+disp('therefore,se<si,whereas for this process the second law requires that se>=si.The process described involves a violation of the second law and thus would be impossible.') \ No newline at end of file