summaryrefslogtreecommitdiff
path: root/2507/CH8/EX8.3/Ex8_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2507/CH8/EX8.3/Ex8_3.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2507/CH8/EX8.3/Ex8_3.sce')
-rwxr-xr-x2507/CH8/EX8.3/Ex8_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2507/CH8/EX8.3/Ex8_3.sce b/2507/CH8/EX8.3/Ex8_3.sce
new file mode 100755
index 000000000..56af3fdad
--- /dev/null
+++ b/2507/CH8/EX8.3/Ex8_3.sce
@@ -0,0 +1,14 @@
+clc
+clear
+printf("Example 8.3 | Page number 212 \n\n");
+//Evaluate delta S for the reservoir
+//Given Data
+Q = 10 //kJ //heat transfered from reservoir
+T = 100+273 //K //isothermal expansion temperature
+T_res = 100+273 //K //reservoir temperature
+//Solution
+delta_S_sys = (Q/T) //kJ/K //delta S for the system
+printf("Change in entropy(Delta S) for the system = %.5f kJ/K\n",delta_S_sys);
+
+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);