sinπx=−cosπx
tanπx=−1, let πx=y
⇒y∈[0,100π]
As tanx repeats itself after x∈[0,π]
and in y∈[0,π], tany=−1 for y=3π4, hence solutions would be y=3π4,7π4,11π4…..
⇒x=34,74,114,...…..,3994 [As 4x would gθ≤400]
[And one term before every 100 would appear]
Sum of A.P=n2(a+l)=n2(34+3994)
for n,{an=a+(n−1)d}
⇒3994=34+(n−1)
⇒3964=n−1
⇒99+1=n
⇒n=100
⇒ Sum=50(4024)=5025
And general solution, x=(4n−1)4, n=1,2,….