summaryrefslogtreecommitdiff
path: root/3856/CH11/EX11.2/Ex11_2.sce
blob: 006c85cfecd57e1e2f151a2e099823f247f1f0b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Monitoring the Titration

//Example 11.2

clc;

clear;

Kin=4*10^-10;//Equilibrium Constant

pKin=-log10(Kin);//Negative Logarithm of Kin

phl=pKin-1;//Lower Value of pH

phu=pKin+1;//Upper Value of pH

printf("Phenophthalein can be used as an indicator as it begins to change color from acid(colourless) at pH %f",phl);

printf("\nto base form (reddish pink)at pH %f",phu)