function curve2 ( )

%% CURVE2 makes the same plot, using vectors.

  tic

  x = linspace ( 0.0, 1.0, 5001 );
  y = cos ( 100 * x ) - 4 * erf ( 30 * x - 10 );
  plot ( x, y, 'b.' );

  toc

  return
end
