Calculates the power transmission in a fiber optic as a function of the length and the attenuation per length unit.