code: def cost(x):
      return sum(np.sin(x) ** 2) + 1
  
imports: import numpy
  import mystic.math.interpolate
  from mystic.models import rosen0der
label_desc: Use image node_id 1 for calling a global function with example usage: cost(x) and returns: unknown