A Mathematical Approach of Low-Frequency Rip Current Oscillation