From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2006/CH6/EX6.18/ex6_18.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 2006/CH6/EX6.18/ex6_18.sce (limited to '2006/CH6/EX6.18/ex6_18.sce') diff --git a/2006/CH6/EX6.18/ex6_18.sce b/2006/CH6/EX6.18/ex6_18.sce new file mode 100755 index 000000000..5384b8060 --- /dev/null +++ b/2006/CH6/EX6.18/ex6_18.sce @@ -0,0 +1,9 @@ +clc; +TA=323;// Temperature at section A in kelvin +PA=125; // Pressure at section A in kPa +TB=287;// Temperature at section B in kelvin +PB=100; // Pressure at section B in kPa +Cpo=1.0035; // Specific heat at constant pressure in kJ/kg K +R=0.287; // characteristic gas constant of air in kJ/kg K +SBA=(Cpo*log (TB/TA))-(R*log (PB/PA)); // Change in entropy +disp("Hence SA>SB. Therefore B to A","kJ/kg",SBA,"Change in entropy from B to A ="); -- cgit