summaryrefslogtreecommitdiff
path: root/3050/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3050/CH6/EX6.2/Ex6_2.sce')
-rwxr-xr-x3050/CH6/EX6.2/Ex6_2.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3050/CH6/EX6.2/Ex6_2.sce b/3050/CH6/EX6.2/Ex6_2.sce
new file mode 100755
index 000000000..a86f4adb8
--- /dev/null
+++ b/3050/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,8 @@
+//calculating pH
+//Example 6.2
+clc
+clear
+//for quinhydrone electrode
+Ecell=0.284//Emf of cell in V
+pH=(0.6996-0.2422-Ecell)/0.0591//pH of the solution
+printf('Thus the pH of the solution = %2.3f V',pH)