Method of undetermined coefficients - B