diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2705/CH7/EX7.9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2705/CH7/EX7.9')
-rwxr-xr-x | 2705/CH7/EX7.9/Ex7_9.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2705/CH7/EX7.9/Ex7_9.sce b/2705/CH7/EX7.9/Ex7_9.sce new file mode 100755 index 000000000..05f58353b --- /dev/null +++ b/2705/CH7/EX7.9/Ex7_9.sce @@ -0,0 +1,21 @@ +clear;
+clc;
+disp('Example 7.9');
+
+// aim : To determine
+// the change of entropy
+
+// Given values
+P1 = 700;// initial pressure, [kN/m^2]
+T1 = 273+150;// Temperature ,[K]
+V1 = .014;// initial volume, [m^3]
+V2 = .084;// final volume, [m^3]
+
+// solution
+// since process is isothermal so
+T2 = T1;
+// and using fig.7.10
+del_s = P1*V1*log(V2/V1)/T1 ;// [kJ/K]
+mprintf('\n The change of entropy is = %f kJ/kg K\n',del_s);
+
+// End
|