Modems are used in various communications in industrial and commercial applications . They work for transmitting data and information to…