function result = approxEquals(x,y,tolerance)
%approxEquals  return true if x and y are equal within some tolerance
%
%  FILL THIS IN IN CLASS
%
%  produces:
%  consumes:  
%
% Examples
%     >> approxEquals(1.001,0.999,0.01)  
%     ans = 1
%     >> approxEquals(1.001,0.999,0.0001)    
%     ans = 0

  result = ( abs(x-y) < tolerance );
  return;
end