code: def __pow__(self, val):
      if isinstance(val, int):
          p = self.x**val
          return AD(self.x**val, val * self.x ** (val - 1) * self.dx)
      else:
          raise TypeError("Second argumnet must be an integer")
  
file_path: ppft/ppft/tests/auto_diff.py
imports: import math
  import sys
  import ppft
label_desc: Use image node_id 2 for calling the AD obj's underlying member method code with example usage: obj.__pow__(val) and returns: AD