For a closed organ pipe, the frequency of fundamental mode is
vi​=4Lc​v​ where,
v is the velocity of sound in air and
Lc​ is the length of the closed organ pipe.
For an open organ pipe, the frequency of fundamental mode is
Ve​=2Le​V​ where,
L0​ is the length of the open pipe.
∵Lc​=Lo​(given)
∴v0​=2vc​...(i)
vo​−vc​=2...(ii)
Solving Eqs. (i) and (ii), we get
ve​=4 Hz and
vc​=2 Hz Now, length of open pipe is halved, then its frequency of fundamental mode is
v0​=2(2Le​​)v​=2(2L0​v​) =2vv​=2×4=8 Hz When the length of the closed pipe is doubled, its frequency of fundamental mode is
vi′​=4(2Lo​)v​=21​(4Lv​v​)=21​×2=1 Hz Hence, number of beats produced per second
=v0​−vc′​=8−1=7 Hz