Text this: Analysis of energy consumption in a wireless sensor network using fuzzy memberships function