code: def _allocated(self, P, a, L):
      P_nom = self.price_ave
      e = self.price_elastic
      return math.ceil(
          self._demand(a, L) * (sum(P[a : a + L]) / (P_nom * L)) ** e
      )
  
file_path: mystic/examples2/hotel_pricing.py
imports: import math
  import mystic
label_desc: Use image node_id 5 for calling the hotel obj's underlying member method code with example usage: obj._allocated(P, a, L) and returns: math