If the roots of the equation x² + px + q = 0 are tan30° and tan15°, then the value of 2 + q - p is
Q1. If the roots of the equation x² + px + q = 0 are tan30° and tan15°, then the value of 2 + q - p is
Answer: 3
Explanation: Using the sum and product of roots, p = -(tan30° + tan15°) and q = tan30°*tan15°. Simplifying 2 + q - p gives 3.