summaryrefslogtreecommitdiff
path: root/1427/CH34/EX34.10/34_10.sce
blob: 6ecdc0b3baf6933c8d3374a46f9b81a93e17445a (plain)
1
2
3
4
5
6
7
8
9
10
11
//ques-34.10
//Calculating absorbance and molar absorption coefficient and percentage transmittancy
clc
ratio=100/19.2;//= Io/I
l1=1; l2=10;//thickness of cell (in cm)
C=5*10^-4;//concentration of cell (in M)
A=log10(ratio);
EC=A/(C*l1);
//On solving, log10(tran) = EC*C*l2
tran=56.2;
printf("The absorbance is %.3f, molar absorption coefficient is %d M/cm and percentage transmittancy for 10cm thick cell is %.1f.",A,EC,tran);