Electrodynamic analysis of carbon nanotube antenna