Text this: Loss Analysis in Optical Fiber Transmission