It is given that is a root of the quadratic equation
The equation has real roots.
Hence, the required value of is 2 or .