Method of Undetermined coefficients