We are told that tanA and tanB are the roots of the quadratic equation 3x2−10x−25=0. For any quadratic ax2+bx+c=0 whose roots are α and β, we have the relations
α+β=−ab,αβ=ac.
Applying this to the given quadratic, we obtain
tanA+tanB=310,tanA⋅tanB=−325.
Next we need tan(A+B). Using the tangent-addition formula
tan(A+B)=1−tanAtanBtanA+tanB,
we substitute the values just found:
tan(A+B)=1−(−325)310=1+325310=328310=2810=145.
Let us denote T=tan(A+B)=145.
The required expression is
E=3sin2(A+B)−10sin(A+B)cos(A+B)−25cos2(A+B).
To rewrite everything in terms of T, we recall the identities
sin2θ=1+tan2θtan2θ,sinθcosθ=1+tan2θtanθ,cos2θ=1+tan2θ1.
Using θ=A+B, every term acquires the common denominator 1+T2:
E=1+T23T2−10T−25.
Since T=145, we first compute
T2=(145)2=19625,1+T2=1+19625=196196+25=196221.
Now the numerator becomes
3T2−10T−25=3(19625)−10(145)−25=19675−1450−25.
To combine, we convert each term to the common denominator 196:
1450=14×1450×14=196700,25=19625×196=1964900.
Hence
3T2−10T−25=19675−700−4900=196−5525.
Putting numerator and denominator together, we obtain
E=221/196−5525/196=−2215525.
Recognising that 221×25=5525, we simplify:
E=−25.
Hence, the correct answer is Option B.