When determining resonant frequencies, which case would you use the most similar strategies to determining resonant frequencies in a guitar string?

a tuning fork in open air

a pipe closed at one end

a pipe open at both ends

a pipe closed at both ends

The case that would use the most similar strategies to determining resonant frequencies in a guitar string would be a string closed at both ends.