If the roots of the quadratic equation x2 + px + q = 0 are tan30° and tan15°, respectively then the value of 2 + q − p is
-
2
-
3
-
0
-
1
B.
3
x2 + px + q = 0
tan 30° + tan 15° = − p
tan 30° ⋅ tan 15° = q
⇒ − p = 1 − q
⇒ q − p = 1
∴ 2 + q − p = 3