docs: def entrance_distance_45_Miller(Di, Di0):
      r'''Returns loss coefficient for a sharp entrance to a pipe at a distance
      from the wall of a reservoir with an initial 45 degree slope conical 
      section of diameter `Di0` added to reduce the overall loss coefficient.
      
      This method is as shown in Miller's Internal Flow Systems
      [1]_. This method is a curve fit to a graph in [1]_ which was digitized.
  
      Parameters
      ----------
      Di : float
          Inside diameter of pipe, [m]
      Di0 : float
          Initial inner diameter of the welded conical section of the entrance
          of the distant (re-entrant) pipe, [m]
  
      Returns
      -------
      K : float
          Loss coefficient with respect to the main pipe diameter `Di`, [-]
  
      Notes
      -----
      The graph predicts an almost constant loss coefficient once the thickness
      of pipe wall to pipe diameter ratio becomes ~0.02.
  
      Examples
      --------
      >>> entrance_distance_45_Miller(Di=0.1, Di0=0.14)
      0.24407641818143339
  
      References
      ----------
      .. [1] Miller, Donald S. Internal Flow Systems: Design and Performance
         Prediction. Gulf Publishing Company, 1990.
      '''
      t = 0.5*(Di0 - Di)
      t_Di = t/Di
      if t_Di > 0.3:
          t_Di = 0.3
      return horner(entrance_distance_45_Miller_coeffs, 6.66666666666666696*(t_Di-0.15))