Water quality modeling for a sinusoidally varying waste discharge concentration