method of undetermined coefficients calculator