Let z1,z2 be the roots of the equation z2+az+12=0 and z1,z2 form an equilateral triangle with origin. Then, the value of |a| is
The given equation is z2+az+12=0suppose that z1,z2 are the roots of the above equationHence, z1+z2=−a, and z1z2=12Given that O, z1,z2 forms an equilateral triangleHence, O2+z12+z22=z1z2+z2O+Oz1⇒z12+z22=z1z2⇒z1+z22=3z1z2⇒a2=312=36⇒a=6