Signal attenuation within the optical fibers is usually expressed in the logarithmic unit of the decibel. Decibel is defined by the input and output power ratio of the signal for…