% fcnFile.m
% Function file for cs3113f08HW05.m
% to use the user-defined function GoldenSectionF.m 
% that uses the golden search method to find a minimum of a 
% given function within a specified interval.

% K. Ming Leung
function y = fcnFile(x,a)
y = 0.5 - x.*exp(-x.*x);


