geometric attenuation in optical fiber code example Example: fiber attenuation caused due to scattering and absorption