Tide is the daily rise and fall of ocean waters occurring at periodic intervals due to gravitational pull of sun…