Energy Efficient Path Analysis and Research in Ad Hoc Networks