summaryrefslogtreecommitdiff
path: root/1385
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /1385
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '1385')
-rwxr-xr-x1385/CH12/EX12.5/12_5.sce24
-rwxr-xr-x1385/CH12/EX12.6/12_6.sce24
2 files changed, 24 insertions, 24 deletions
diff --git a/1385/CH12/EX12.5/12_5.sce b/1385/CH12/EX12.5/12_5.sce
index a384c0a7b..26ec093da 100755
--- a/1385/CH12/EX12.5/12_5.sce
+++ b/1385/CH12/EX12.5/12_5.sce
@@ -1,12 +1,12 @@
-clc
-//initialisation of variables
-T= 90 //C
-T1= 25 //C
-Cp= 6.9 //cal per mole per degree
-CP1= 7.05 //cal per mole per degree
-Cp2= 18 //cal per mole per degree
-H= -68.37 //kcal
-//CALCULATIONS
-H1= H+(Cp2-Cp-0.5*Cp1)*((T-T1)/1000)
-//RESULTS
-printf (' heat of formation= %.2f cal',H1)
+clc
+//initialisation of variables
+T= 90 //C
+T1= 25 //C
+Cp= 6.9 //cal per mole per degree
+Cp1= 7.05 //cal per mole per degree
+Cp2= 18 //cal per mole per degree
+H= -68.37 //kcal
+//CALCULATIONS
+H1= H+(Cp2-Cp-0.5*Cp1)*((T-T1)/1000)
+//RESULTS
+printf (' heat of formation= %.2f cal',H1) \ No newline at end of file
diff --git a/1385/CH12/EX12.6/12_6.sce b/1385/CH12/EX12.6/12_6.sce
index aaa965251..c8f1849c5 100755
--- a/1385/CH12/EX12.6/12_6.sce
+++ b/1385/CH12/EX12.6/12_6.sce
@@ -1,12 +1,12 @@
-clc
-//initialisation of variables
-Cp= 2.7 //cal per mole per degree
-CP1= 6.9 //cal per mole per degree
-Cp2= 15.4 //cal per mole per degree
-H= -20.24 //kcal
-T= 200 //C
-T1= 25 //C
-//CALCULATIONS
-H1= H+(Cp2-2*Cp-3*Cp1)*((T-T1)/1000)
-//RESULTS
-printf (' heat of formation= %.2f cal',H1)
+clc
+//initialisation of variables
+Cp= 2.7 //cal per mole per degree
+Cp1= 6.9 //cal per mole per degree
+Cp2= 15.4 //cal per mole per degree
+H= -20.24 //kcal
+T= 200 //C
+T1= 25 //C
+//CALCULATIONS
+H1= H+(Cp2-2*Cp-3*Cp1)*((T-T1)/1000)
+//RESULTS
+printf (' heat of formation= %.2f cal',H1) \ No newline at end of file