code: def continuous_1d(x):
      """Compute x * sin(2x) + 2 if x in [0, 5] else 0."""
      fx = np.atleast_1d(x * np.sin(2 * x) + 2)
      fx[np.logical_and(x < 0, x > 5)] = 0.0
      return fx
  
file_path: hypertunity/hypertunity/optimisation/tests/_common.py
imports: import numpy
  from hypertunity.optimisation import EvaluationScore
label_desc: Use image node_id 1 for calling a global function with example usage: continuous_1d(x) and returns: fx