summaryrefslogtreecommitdiff
path: root/3856/CH5
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 10:59:42 +0530
committerprashantsinalkar2018-02-03 10:59:42 +0530
commitd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch)
tree612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3856/CH5
parentf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff)
downloadScilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip
Modified the code
Diffstat (limited to '3856/CH5')
-rw-r--r--3856/CH5/EX5.6/Ex5_6.sce9
1 files changed, 5 insertions, 4 deletions
diff --git a/3856/CH5/EX5.6/Ex5_6.sce b/3856/CH5/EX5.6/Ex5_6.sce
index ae39f051f..63838ea4f 100644
--- a/3856/CH5/EX5.6/Ex5_6.sce
+++ b/3856/CH5/EX5.6/Ex5_6.sce
@@ -1,4 +1,5 @@
-//Calculate the Increase in Entropy at consant pressure
+
+//Calculate the Increase in Entropy at constant pressure
//Example 5.6
@@ -12,7 +13,7 @@ M=18.02; //Molar mass of water in g mol^-1
n=m/M; //Number of moles of water present in mol
-t1=10; //Initial temperature of water in degree celcious
+t1=10; //Initial temperature of water in degree Celius
T1=10+273; //Initial temperature of water in K
@@ -20,8 +21,8 @@ t2=20; //Final temperature of water in degree celcious
T2=20+273; //Final temperature of water in K
-delCpbar=75.3; //Molar heat capacity of water at consant pressure in J K^-1
+delCpbar=75.3; //Molar heat capacity of water at constant pressure in J K^-1
-delS=(n*delCpbar)*log(T2/T1); //Encrease in Entropy at constant pressure in J K^-1
+delS=(n*delCpbar)*log(T2/T1); //Increase in Entropy at constant pressure in J K^-1
printf("Encrease in Entropy = %.1f J K^-1",delS);