A thin horizontal bar AB of negligible mass and length l is hinged to a vertical wall at A and supported at B by thin wire BC which is tied to a point C vertically above in the same wall.BC makes angle `theta` with the horizontal . A weight W is moved along the bar. Show how the tensile force T in the thin wire changes with the distance x of the weight from the wall.