Let the velocity of boat is v and making an angle θ with the vertical and the width of the river is d. Then the velocity of river is 2v in horizontal direction.
The resultant velocity of boat is given as,
vx=2v−vsinθ
vy=vcosθ
The required time to cross the river is given as,
t=dvcosθ
The drift is given as,
x=vx×t
x=2v−vsinθ×dvcosθ
For drift to be minimum,
dxdθ=0
2vtanθ−vsecθ=0
θ=30∘
The angle made with the direction of river flow is given as,
θ1=90∘+30∘
θ1=120∘
The value of n is given as,
2πn=120∘
n=3