summaryrefslogtreecommitdiff
path: root/2465/CH8/EX8.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2465/CH8/EX8.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2465/CH8/EX8.2')
-rw-r--r--2465/CH8/EX8.2/Ex8_2.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2465/CH8/EX8.2/Ex8_2.sce b/2465/CH8/EX8.2/Ex8_2.sce
new file mode 100644
index 000000000..f6a1b0244
--- /dev/null
+++ b/2465/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,21 @@
+//Chapter-8,Example 2,Page 195
+clc();
+close();
+
+H=20*0.1/1000 //as 20 ml of 0.1M HCl
+
+pH=-log10(H)
+
+pOH=14-pH
+
+OH=10^(-pOH)
+
+printf(' the [H+] = %.4f mole/l',H)
+
+printf('\n the [OH-] =')
+
+disp(OH)
+
+printf(' mole/l')
+
+printf('\n the pH = %.f ',pH)