blob: b887bda8006932e89d0fd9d4a7ed8515881e5899 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
//initialization of variables
pKa = 4.756
DH = 9.31*10^-5 // cm^2/sec
DCH3COO = 1.09*10^-5 //cm^2/sec
D2 = 1.80*10^-5 //cm^2/sec
Ct = 10 // moles/lit
//Calculations
K = 10^pKa // litres/mol
D1 = 2/((1/DH)+(1/DCH3COO))
D = 2/((1/D1)+(1/D2))*10^5// Diffusion co efficient in x*10^-5 cm^2/sec
//Results
printf("The diffusion coefficient of acetic acid in water is %.1f x10^-5 cm^2/sec",D)
|