A thin rod AB is held horizontally so that it can freely rotate in a vertical plane about the end A as shown in the figure. The potential energy of the rod when it hangs vertically is taken to be zero. The end B of the rod is released from rest from a horizontal position. At the instant the rod makes an angle θ with the horizontal: