Tube A has both ends open while tube B has one end closed, otherwise they are identical. The ratio of fundamental frequency of tube A and B is
nA=v2l;ns=v4l⇒ nAnB = 2:1