Verification of Beer-Lambert's law