Average Energy Density Of Electromagnetic Wave