diff options
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)
|