blob: 9280e6b7449d996e54127b03a7681a1c7e9d2de1 (
plain)
1
2
3
4
5
6
7
8
|
//ques-34.12
//Calculating concentration of a solution
clc
ratio=100/20;//= Io/I
EC=12000;//(in L/mol/cm)
l=2.5;//thickness (in cm)
C=log10(ratio)/(EC*l);
printf("The concentration of the solution is %.7f mol/L.",C);
|