diff options
Diffstat (limited to '1439/CH15/EX15.8')
-rwxr-xr-x | 1439/CH15/EX15.8/15_8.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1439/CH15/EX15.8/15_8.sce b/1439/CH15/EX15.8/15_8.sce new file mode 100755 index 000000000..132075297 --- /dev/null +++ b/1439/CH15/EX15.8/15_8.sce @@ -0,0 +1,9 @@ +clc
+//initialisation of variables
+kw= 10^-14
+ka= 2.69*10^-5
+c= 0.1 //N
+//CALCULATIONS
+pH= -log10(sqrt(kw*ka/c))
+//RESULTS
+printf ('pH = %.2f ',pH)
|