diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /615/CH2/EX2.19/2_19.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '615/CH2/EX2.19/2_19.sce')
-rwxr-xr-x | 615/CH2/EX2.19/2_19.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/615/CH2/EX2.19/2_19.sce b/615/CH2/EX2.19/2_19.sce new file mode 100755 index 000000000..6cef02b01 --- /dev/null +++ b/615/CH2/EX2.19/2_19.sce @@ -0,0 +1,13 @@ +//acids and bases//
+//example 2.19//
+k=1.8*10^-5;//dissociation constant of acetic acid//
+M=0.01;//molarity of acetic acid//
+N=M*1;//normality of acetic acid//
+V=1/N;
+a=sqrt(k*V)//degree of dissociation for weak acids//
+printf("degree of dissociation of solution is %f",a);
+H1=a/V;
+H=H1/10^-4;
+printf("\nH+ concentration in solution is %f*10^-4g.ion/lit",H);
+pH=-log10(H1);
+printf("\npH of the solution is %f",pH);
\ No newline at end of file |