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 /2144/CH3/EX3.30 | |
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 '2144/CH3/EX3.30')
-rwxr-xr-x | 2144/CH3/EX3.30/ex3_30.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2144/CH3/EX3.30/ex3_30.sce b/2144/CH3/EX3.30/ex3_30.sce new file mode 100755 index 000000000..7b393da68 --- /dev/null +++ b/2144/CH3/EX3.30/ex3_30.sce @@ -0,0 +1,17 @@ +// Exa 3.30
+clc;
+clear;
+close;
+// Given data
+C_P = 1.045;// in kJ/kg-K
+Q = 100;// in kJ
+del_T = Q/C_P;// in degree C
+T1 = 25;// in degree C
+T1 = T1 + 273;// in K
+T = 0;// in degree C
+T = T + 273;// in K
+T2 = T1 + del_T;// in K
+del_Phi = C_P * (log(T2/T1));// in kJ/kg-K
+disp(del_Phi,"The change in entropy in the process in kJ/kg-K is");
+ini_entropy = C_P * (log(T1/T));// initial entropy in in kJ/kg-K
+disp(ini_entropy,"The initial entropyin kJ/kg-K is");
|