Optic fiber is a thin, cylindrical fiber made of glass or plasticthat is as tiny as one tenth of the…