blob: 2b6c3f410c9c340d2b20f6166c00cf1127c26687 (
plain)
1
2
3
4
5
6
7
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.')
|