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.3/2_3.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.3/2_3.sce')
-rwxr-xr-x | 615/CH2/EX2.3/2_3.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/615/CH2/EX2.3/2_3.sce b/615/CH2/EX2.3/2_3.sce new file mode 100755 index 000000000..54c739933 --- /dev/null +++ b/615/CH2/EX2.3/2_3.sce @@ -0,0 +1,25 @@ +//acida and bases//
+//example 2.3//
+//(a)//
+N1=0.1;//normality of acetic acid//
+a1=1.3;//percentage of ionization//
+H1=N1*a1/100;
+printf('the hydrogen ion concentration of solution is %fg.ion/lit',H1);
+//(b)//
+M1=10^-8;//molarity of hcl solution//
+a=100;//percentage of ionization//
+H=M1*a/100;
+
+pH=-log10(H);
+printf('\nthe pH of the Hcl solution is %f',pH);
+disp("Theoretically the pH should be 8,however,the value will be close to 7 because H+ ions of water also plays a role");
+//(c)//
+N2=0.05;//normality of Hcl//
+a2=100;//percentage of ionization//
+pH2=-log10(N2*a2/100);
+printf('\nthe pH of 0.05 Hcl solution is %f',pH2);
+M3=0.05;//molarity os H2SO4//
+N3=M3*2;//normality//
+a3=100;//percentage of ionization//
+pH3=-log10(N3*a3/100);
+printf('\n the pH of 0.05M H2SO4 solution is %f',pH3);
|