How to solve a closed pipe standing wave problem