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 /1388/CH4/EX4.5 | |
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 '1388/CH4/EX4.5')
-rwxr-xr-x | 1388/CH4/EX4.5/4_5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1388/CH4/EX4.5/4_5.sce b/1388/CH4/EX4.5/4_5.sce new file mode 100755 index 000000000..04d10fb8f --- /dev/null +++ b/1388/CH4/EX4.5/4_5.sce @@ -0,0 +1,14 @@ +clc
+//initialisation of variables
+T= 300 //K
+T1= 400 //K
+k= 6.0954
+k1= 3.2533*10^-3
+k2= -1.0171*10^-6
+R= 1.98719 //cal/mol K
+//CALCULATIONS
+S= 2*(k*log(T1/T)+k1*(T1-T)+k2*(T1^2-T^2)/2)
+S1= S-2*R*log(T1/T)
+//RESULTS
+printf (' Entropy= %.4f cal deg^-1',S)
+printf (' \n Entropy = %.4f cal deg^-1',S1)
|