Optical fiber is a long thin, cylindrical fiber made of glass or plasticthat is smaller than one tenth of the…