summaryrefslogtreecommitdiff
path: root/2495/CH8/EX8.18.15/Ex8_18_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '2495/CH8/EX8.18.15/Ex8_18_15.sce')
-rw-r--r--2495/CH8/EX8.18.15/Ex8_18_15.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2495/CH8/EX8.18.15/Ex8_18_15.sce b/2495/CH8/EX8.18.15/Ex8_18_15.sce
new file mode 100644
index 000000000..5c34cddb3
--- /dev/null
+++ b/2495/CH8/EX8.18.15/Ex8_18_15.sce
@@ -0,0 +1,16 @@
+clear
+clc
+RT_F=0.05913;//in V
+pH=5;//
+E1=0.280;//in V
+E2=0.6996;//in V
+E=(E1-E2)+(RT_F*pH);//in V
+printf('E=%.4f V',E)
+E=0;//
+pH=(E-(E1-E2))/RT_F;//
+printf('\npH=%.1f',pH)
+pH=7.5
+E=(E1-E2)+(RT_F*pH);//in V
+printf('\nE=%.4f V',E)
+
+//page 489