Energy Detection for Spectrum Sensing in Cognitive Radio