Two organ pipes of equal length are filled with air at the same temperature. Pipe P is open at both ends, while pipe Q is closed at one end. If both pipes vibrate in their fundamental modes, what is the ratio of the frequency of P to that of Q?
(a) 1:2
(b) 2:1
(c) 1:4
(d) 4:1