Osmotic pressure and molecular weight calculation