Q.

If the roots of the quadratic equation x2+px+q=0 are tan30° and tan15°, respectively, then the value of 2+q-p is

1 2  
2 3  
3 0  
4 1  

Ans.

(2)

α=tan30°,  β=tan15° are roots of the equation x2+px+q=0.

∴  α+β=-p and αβ=q

Using tanA+tanB=tan(A+B)(1-tanA tanB)

⇒-p=1-q⇒q-p=1

⇒2+q-p=3