function accuracy ( )

%*****************************************************************************80
%
%% accuracy() displays examples of different accuracy in MATLAB.
%
%  Modified:
%
%    12 December 2021
%
%  Reference:
%
%    Ward Cheney & David Kincaid
%    Numerical Mathematics and Computing, Fifth Edition
%    Brooks/Cole Publishing Company, 2003.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'accuracy():\n' );
  fprintf ( 1, '  Cheney/Kincaid accuracy example.\n' );

  s = str2sym ( '2*pi*exp(1)' );
  vpa ( s )
  vpa ( s, 40 )

  return
end
