Energy Generated By Waves