Describe the role of total internal reflection in transmitting information along optical fibres and in prisms