summaryrefslogtreecommitdiff
path: root/3876/CH14/EX14.1/Ex14_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3876/CH14/EX14.1/Ex14_1.sce')
-rw-r--r--3876/CH14/EX14.1/Ex14_1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3876/CH14/EX14.1/Ex14_1.sce b/3876/CH14/EX14.1/Ex14_1.sce
new file mode 100644
index 000000000..43be88d31
--- /dev/null
+++ b/3876/CH14/EX14.1/Ex14_1.sce
@@ -0,0 +1,20 @@
+//Chapter 14 Determination of Hydroniumion Concentrations
+
+clc;
+clear;
+
+//Initialisation of Variables
+E= 0.232 //v
+R= 0.0592
+p= 1 //atm
+R1= 0.0296
+P= 740 //atm
+
+//CALCULATIONS
+pH= E/R
+pH1= (E-R1*log10(P/760))/R
+e= pH1-pH
+e= e-0.002
+
+//RESULTS
+mprintf("Error in pH of solution= %.3f",e)