Find constants using equating coefficients (#322)

Find constants using equating coefficients (#322)