log2/π∣sinx∣+log2/π∣cosx∣=2
log2/π(∣sinx∣∣cosx∣)=2
∣sinxcosx∣=(2/π)2=4/π2
21∣sin2x∣=4/π2, so ∣sin2x∣=8/π2.
Since 8/π2≈0.811, and sin2x achieves this value in (0,π):
For x∈(0,π/2): 2x∈(0,π), and sin2x=8/π2 has 2 solutions.
For x∈(π/2,π): 2x∈(π,2π), and ∣sin2x∣=8/π2 has 2 solutions.
So ∣A∣=4.
Set B: Let t=x≥0. The equation becomes:
t(t−4)−3∣t−2∣+6=0
t2−4t+6−3∣t−2∣=0
Case 1: t≥2: t2−4t+6−3(t−2)=0⇒t2−7t+12=0⇒(t−3)(t−4)=0. So t=3 or t=4, giving x=9 or x=16.
Case 2: 0≤t<2: t2−4t+6−3(2−t)=0⇒t2−t=0⇒t(t−1)=0. So t=0 or t=1, giving x=0 or x=1.
So B={0,1,9,16}, ∣B∣=4.
Sets A and B are disjoint (A contains values in (0,π) which are irrational, B contains integers).
n(A∪B)=∣A∣+∣B∣=4+4=8.
The correct answer is Option B: 8.