Taking moment about O
mgxl2singθ=FT(l−x2)sinθ⟹(i)
Also FT=wt. of fluid displaced =(l−x)∗ρwg⟹(ii)
And m=(lA)∗0.5ρw⟹(iii)
Where A is the area of cross section of the rod
From (i), (ii) and (iii)
(lA)∗0.5ρwgxl2sinθ=[(l−x)A]ρwgx(l−x2)sinθ
Here, l=1m
∴(1–x)2=0.5
x=0.293m
From the diagram
cosθ=0.51−x=0.50.707
θ=45o