summaryrefslogtreecommitdiff
path: root/821/CH7/EX7.19/7_19.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /821/CH7/EX7.19/7_19.sce
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 '821/CH7/EX7.19/7_19.sce')
-rwxr-xr-x821/CH7/EX7.19/7_19.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/821/CH7/EX7.19/7_19.sce b/821/CH7/EX7.19/7_19.sce
new file mode 100755
index 000000000..eab0189c6
--- /dev/null
+++ b/821/CH7/EX7.19/7_19.sce
@@ -0,0 +1,16 @@
+c1=1;//concentration of HCl//
+PH1=-log10(c1);
+printf('PH for the 1M HCl solution=PH1=%f',PH1);
+c2=5.2*10^-4;//concentration of H+ in the solution//
+PH2=-log10(c2);
+printf('\nPH for the solution=PH2=%f',PH2);
+c3=0.025;//concentration of 0.025M HClO4//
+PH3=-log10(c3);
+printf('\nPH for the 0.025M HClO4 solution=PH3=%f',PH3);
+PH4=4.45;
+c4=10^(-PH4);//concentration of the solution//
+printf('\nConcentration of the solution=c4=%f=3.548*10^-5',c4);
+POH5=1.30;
+PH5=14-POH5;
+c5=10^(-PH5);//concentration of the solution//
+printf('\nConcentration of the solution=c5=1.995*10^-13');