function y = fcn6p8(x) % Scalar function of a single argument. % Used in example 6.8 on p.272 of Heath. % K. Ming Leung, 05/06/03 y = 0.5-x*exp(-x*x);