Method of variation of parameters