diff options
Diffstat (limited to '2006/CH6/EX6.11')
-rwxr-xr-x | 2006/CH6/EX6.11/ex6_11.sce | 9 |
1 files changed, 9 insertions, 0 deletions
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 =");
|