A ladder of length b and weight W rests on a smooth floor and leans against a smooth vertical wall, the lower end of the ladder being attached by a string to a point on the wall a height h above the floor. If the ladder makes an angle theta with the wall, find the tension in the string.