code: public static Discrete discretize(Term term, double start, double end, int resolution) {
          return discretize(term, start, end, resolution, true);
      }
docs: Discretizes the given term at the given resolution ensuring that
  `\mu(x)\in[0.0,1.0]`.
  
  
  @param term is the term to discretize
  @param start is the value from which discretization starts
  @param end is the value at which discretization ends
  @param resolution is the number of equally-distributed samples to perform
  between start and end
  @return a Discrete term that approximates the given term