blob: de3fc89647b203bec773b05b836eafc92a643118 (
plain)
1
2
3
4
5
6
7
8
|
//ques-5.8
//Calculating pH of NaOH
clc
N=0.01;//normality of NaOH
a=0.01;//hydroxide in NaOH
b=10^-14/a;//hydrogen in NaOH
pH=-log10(b);//pH of NaOH
printf("pH value of given NaOH is %.0f.",pH);
|