code: def rational_approximation(t):
      # Abramowitz and Stegun formula 26.2.23.
      # The absolute value of the error should be less than 4.5 e-4.
      c = [2.515517, 0.802853, 0.010328]
      d = [1.432788, 0.189269, 0.001308]
      numerator = (c[2] * t + c[1]) * t + c[0]
      denominator = ((d[2] * t + d[1]) * t + d[0]) * t + 1.0
      return t - numerator / denominator
  
file_path: pydlm/pydlm/base/tools.py
imports: import math
label_desc: Use image node_id 2 for calling a global function with example usage: rational_approximation(t) and returns: unknown