We need to find the real part of (1−cosθ+2isinθ)−1 and set it equal to 51.
Let z=1−cosθ+2isinθ. Then z−1=∣z∣2z.
The real part of z−1 is ∣z∣2Re(z)=(1−cosθ)2+4sin2θ1−cosθ.
We expand the denominator: (1−cosθ)2+4sin2θ=1−2cosθ+cos2θ+4sin2θ=1−2cosθ+cos2θ+4(1−cos2θ)
=5−2cosθ−3cos2θ.
Setting the real part equal to 51:
5−2cosθ−3cos2θ1−cosθ=51.
Let c=cosθ. Then:
5(1−c)=5−2c−3c2
5−5c=5−2c−3c2
−5c=−2c−3c2
0=3c−3c2=3c(1−c).
So c=0 or c=1. Since θ∈(0,π), we have cosθ=1, so cosθ=0, giving θ=2π.
Therefore, ∫0θsinxdx=∫0π/2sinxdx=[−cosx]0π/2=−cos2π+cos0=0+1=1.