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.11/ex6_11.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 2006/CH6/EX6.11/ex6_11.sce (limited to '2006/CH6/EX6.11/ex6_11.sce') diff --git a/2006/CH6/EX6.11/ex6_11.sce b/2006/CH6/EX6.11/ex6_11.sce new file mode 100755 index 000000000..187504be3 --- /dev/null +++ b/2006/CH6/EX6.11/ex6_11.sce @@ -0,0 +1,9 @@ +clc; +p1=5; // Initial pressure of argon gas in bar +T1=30; // Initial temperature of argon gas in degree celcius +v1=1; // Initial volume of argon gas in m^3 by assumption +v2=2*v1; // Final volume of argon gas in m^3 +R=8.3144/40; // Characteristic gas constant of argon gas in kJ/kg K +p2=p1*(v1/v2); // Final pressure of argon gas +delta_s= R*log (v2/v1); // change in entropy (choosing the reversible isothermal path) +disp ("kJ/kg K",delta_s,"change in entropy (choosing the reversible isothermal path) = ","bar",p2,"Final pressure of argon gas ="); -- cgit