optical fiber is a thin cylindrical fiber made from glass or plastic, smaller than one tenth of a human hair.…