Step 1: Fundamental frequency of open pipe.
For open pipe:
\[
f_1 = \frac{v}{2L_1}
\]
Given \(L_1 = 80\,cm\):
\[
f_1 = \frac{v}{160}
\]
Step 2: Fundamental frequency of closed pipe.
For closed pipe:
\[
f_2 = \frac{v}{4L_2}
\]
Step 3: Equate frequencies.
\[
\frac{v}{160} = \frac{v}{4L_2}
\]
Step 4: Solve for \(L_2\).
\[
4L_2 = 160 \Rightarrow L_2 = 40\,cm
\]
Step 5: Physical interpretation.
Closed pipe has only odd harmonics, so its fundamental is half that of open pipe for same length scale.
Step 6: Final conclusion.
Thus, required length is \(40\,cm\).
Final Answer:
\[
\boxed{40\,cm}
\]