We are given that log10sinx+log10cosx=−1 for x∈(0,2π). This means log10(sinxcosx)=−1, so sinxcosx=10−1=101.
We know that sinxcosx=2sin2x, so 2sin2x=101, giving sin2x=51.
Now we need to find (sinx+cosx)2=sin2x+cos2x+2sinxcosx=1+2×101=1+51=56.
Since x∈(0,2π), both sinx and cosx are positive, so sinx+cosx=56.
Now we use the second equation: log10(sinx+cosx)=21(log10n−1).
The left side is log1056=21log1056.
So 21log1056=21(log10n−1).
Multiplying both sides by 2: log1056=log10n−1.
This gives log10n=1+log1056=log1010+log1056=log10(10×56)=log1012.
Therefore n=12, and the correct answer is option (2).