optical fiber is a thin cylindrical fiber that is made of plastic or glass, smaller than one tenth of the…