Use discriminant to find unknown coefficients (#293)