code: def sched_cos(start, end, pos):
      return (
          start
          + (1 + math.cos(math.pi * (1 - pos))) * (end - start) / 2
      )
  
imports: from __future__ import annotations
  from ..basics import *
  from .tracker import SaveModelCallback
label_desc: Use image node_id 3 for calling a global function with example usage: sched_cos(start, end, pos) and returns: unknown