code: def Pegasus(*args, **kwargs):
      """
      1d-solver generating pairs of approximative root and error.
  
      Uses Pegasus method to find a root of f in [a, b].
      Wrapper for illinois to use method='pegasus'.
      """
      kwargs["method"] = "pegasus"
      return Illinois(*args, **kwargs)
  
imports: from __future__ import print_function
  from copy import copy
  from ..libmp.backend import xrange
label_desc: Use image node_id 2 for calling a global function with example usage: Pegasus() and returns: Illinois