code: def demo_func(x):
      x1, x2 = x
      return (
          -20 * np.exp(-0.2 * np.sqrt(0.5 * (x1**2 + x2**2)))
          - np.exp(
              0.5 * (np.cos(2 * np.pi * x1) + np.cos(2 * np.pi * x2))
          )
          + 20
          + np.e
      )
  
imports: import numpy
  from sko.PSO import PSO
  import matplotlib.pyplot
  from matplotlib.animation import FuncAnimation
label_desc: Use image node_id 1 for calling a global function with example usage: demo_func(x) and returns: unknown