function [fn] = c_8_p_7_fn(x) % The function we want to maximize fn = 1 ./ ( (x-1).^2 + 2 );