method of variation of parameters