Determination of unknown concentration of an analyte by using the Beer-Lambert Law