General solution of tan 5θ=cot 2θ is
nπ7+π2,n∈Z
θ=nπ7+π3,n∈Z
θ=nπ7+π14,n∈Z
θ=nπ7−π14,n∈Z
Given:tan 5θ=cot 2θ⇒tan 5θ=tan(π2−2θ)⇒5θ=nπ+π2−2θ⇒7θ=nπ+π2⇒θ=nπ7+π14,n∈Z