A PVC pipe that is one meter long is struck and the speed of sound is 345 m/s. What is the fundamental frequency (n=1) of the pipe when:

a. The pipe is open at both ends?
b. The pipe is closed at one end, open at the other?