Study of kinetics of a reaction by using spectrophotometric method