code: def aps15_f(x, n):
      r"""piecewise linear, constant outside of [0, 0.002/(1+n)]"""
      if x < 0:
          return -0.859
      if x > 2 * 1e-3 / (1 + n):
          return np.e - 1.859
      return np.exp((n + 1) * x / 2 * 1000) - 1.859
  
imports: from __future__ import division, print_function, absolute_import
  from random import random
  import numpy
  from scipy.optimize import zeros
label_desc: Use image node_id 55 for calling a global function with example usage: aps15_f(x, n) and returns: unknown, unknown, unknown