Blazing goIITian
first of all resolve the forces in vertical and horizontal directions
in horizontal direction
Tsin= kq2/ 4l2sin2
in vertical
Tcos= mg
now dividing 2nd equation with 1st and rearranging u will get ur answer