A boat floats up and down with the time period of two seconds as the wave passes under it. What is the frequency ?