summaryrefslogtreecommitdiff
path: root/1388
diff options
context:
space:
mode:
Diffstat (limited to '1388')
-rwxr-xr-x1388/CH3/EX3.16/3_16.sce18
-rwxr-xr-x1388/CH3/EX3.2/3_2.sce22
-rwxr-xr-x1388/CH4/EX4.26/4_26.sce31
-rwxr-xr-x1388/CH7/EX7.26/7_26.sce24
-rwxr-xr-x1388/CH7/EX7.27/7_27.sce24
5 files changed, 60 insertions, 59 deletions
diff --git a/1388/CH3/EX3.16/3_16.sce b/1388/CH3/EX3.16/3_16.sce
index 155942e6f..a90466cf9 100755
--- a/1388/CH3/EX3.16/3_16.sce
+++ b/1388/CH3/EX3.16/3_16.sce
@@ -1,9 +1,9 @@
-clc
-//initialisation of variables
-H= -350.2 //kcal
-H1= -128.67 //kcal
-H2= -216.90 //kcal
-//CALCULATIONS
-H3= H-(H1+H2)
-a//RESULTS
-printf (' Enthalpy = %.1f kcal ',H3)
+clc
+//initialisation of variables
+H= -350.2 //kcal
+H1= -128.67 //kcal
+H2= -216.90 //kcal
+//CALCULATIONS
+H3= H-(H1+H2)
+//RESULTS
+printf (' Enthalpy = %.1f kcal ',H3) \ No newline at end of file
diff --git a/1388/CH3/EX3.2/3_2.sce b/1388/CH3/EX3.2/3_2.sce
index 45200a6b6..ab0cff38b 100755
--- a/1388/CH3/EX3.2/3_2.sce
+++ b/1388/CH3/EX3.2/3_2.sce
@@ -1,11 +1,11 @@
-clc
-//initialisation of variables
-P= 0.0060 //atm
-Vl= 0.0181 //l
-H= -10730 //cal
-V2= 22.4 //l
-//CALCULATIONS
-W= (V2-P*V1)*(1.987/.08205)
-E= H+W
-//RESULTS
-printf (' increase in energy= %.f cal ',E+4)
+clc
+//initialisation of variables
+P= 0.0060 //atm
+Vl= 0.0181 //l
+H= -10730 //cal
+V2= 22.4 //l
+//CALCULATIONS
+W= (V2-P*Vl)*(1.987/.08205)
+E= H+W
+//RESULTS
+printf (' increase in energy= %.f cal ',E+4) \ No newline at end of file
diff --git a/1388/CH4/EX4.26/4_26.sce b/1388/CH4/EX4.26/4_26.sce
index aecc42694..29a4514cc 100755
--- a/1388/CH4/EX4.26/4_26.sce
+++ b/1388/CH4/EX4.26/4_26.sce
@@ -1,15 +1,16 @@
-clc
-//initialisation of variables
-H= 1436.3 //cal mole^-1
-d= 0.9999 //g ml^-1
-d1= 0.9168 //g ml^-1
-P= 1 //atm
-m= 18.02 //gm
-R= 1.987 //cal/mole K
-T= 2 //C
-//CALCULATIONS
-V= (p/d)-(p/d1)
-H1= H*82.05/(m*R)
-P1= H1*(-T)/(273*V)
-//RESULTS
-printf (' pressure required to decrease= %.f atm',P1)
+clc
+clear
+//initialisation of variables
+H= 1436.3 //cal mole^-1
+d= 0.9999 //g ml^-1
+d1= 0.9168 //g ml^-1
+P= 1 //atm
+m= 18.02 //gm
+R= 1.987 //cal/mole K
+T= 2 //C
+//CALCULATIONS
+V= (P/d)-(P/d1)
+H1= H*82.05/(m*R)
+P1= H1*(-T)/(273*V)
+//RESULTS
+printf (' pressure required to decrease= %.f atm',P1) \ No newline at end of file
diff --git a/1388/CH7/EX7.26/7_26.sce b/1388/CH7/EX7.26/7_26.sce
index 20d897cc6..79e770100 100755
--- a/1388/CH7/EX7.26/7_26.sce
+++ b/1388/CH7/EX7.26/7_26.sce
@@ -1,12 +1,12 @@
-clc
-//initialisation of variables
-e= 0
-e1= -0.37
-k= -0.05916 //j/mol
-a= 0.02
-a1- 0.01
-p= 730 //mm of Hg
-//CALCULATIONS
-E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
-//RESULTS
-printf (' cell potential = %.2f volt',E-0.03)
+clc
+//initialisation of variables
+e= 0
+e1= -0.37
+k= -0.05916 //j/mol
+a= 0.02
+a1= 0.01
+p= 730 //mm of Hg
+//CALCULATIONS
+E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
+//RESULTS
+printf (' cell potential = %.2f volt',E-0.03) \ No newline at end of file
diff --git a/1388/CH7/EX7.27/7_27.sce b/1388/CH7/EX7.27/7_27.sce
index a349dff62..036915c34 100755
--- a/1388/CH7/EX7.27/7_27.sce
+++ b/1388/CH7/EX7.27/7_27.sce
@@ -1,12 +1,12 @@
-clc
-//initialisation of variables
-e= 0 //ev
-e1= -0.37 //ev
-k= -0.05916 //j/mol
-a= 0.02
-a1- 0.01
-p= 730 //mm of Hg
-//CALCULATIONS
-E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
-//RESULTS
-printf (' cell potential = %.2f volt',E-0.03)
+clc
+//initialisation of variables
+e= 0 //ev
+e1= -0.37 //ev
+k= -0.05916 //j/mol
+a= 0.02
+a1= 0.01
+p= 730 //mm of Hg
+//CALCULATIONS
+E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
+//RESULTS
+printf (' cell potential = %.2f volt',E-0.03) \ No newline at end of file