The absorption of electromagnetic radiation in a quantum wire