An open-ended tube having an inner radius $r$ is placed in a wetting liquid $A$ having a density $\rho_{A}$. The top of the tube is just below the surface of a surrounding liquid $B$, which has a density $\rho_{B}$, where $\rho_{A}>\rho_{B}$. If the surface tension $\sigma$ causes liquid $A$ to make a wetting angle $\theta$ with the tube wall as shown, determine the rise $h$ of liquid $A$ within the tube. Show that the result is independent of the depth $d$ of liquid $B$.