Method of Variation of Parameters for Dynamic Systems