The bob of a pendulum is released from a horizontal position A as shown in figure

The bob of a pendulum is released from a horizontal position A as shown in figure. If the length of the pendulum is 1-5 m, what is the speed with which the bob arrives at the lower most point B, given that it dissipates 5% of its initial energy against air resistance.