diff options
Diffstat (limited to '2507/CH8/EX8.4')
-rwxr-xr-x | 2507/CH8/EX8.4/Ex8_4.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2507/CH8/EX8.4/Ex8_4.sce b/2507/CH8/EX8.4/Ex8_4.sce new file mode 100755 index 000000000..b24b6c538 --- /dev/null +++ b/2507/CH8/EX8.4/Ex8_4.sce @@ -0,0 +1,11 @@ +clc
+clear
+printf("Example 8.4 | Page number 212 \n\n");
+//Evaluate delta S for the reservoir
+//Given Data
+Q = 1; //kJ //heat transfered from reservoir
+T = 100+273; //K //isothermal expansion temperature
+T_res = 100+273; //K //reservoir temperature
+//Solution
+delta_S_res = -1*(Q/T_res); //kJ/K //delta S for the reservoir
+printf("Change in entropy(Delta S) for the reservoir = %.5f kJ/K\n",delta_S_res);
|