function value = fedn ( dim_num, x ) %% FEDN(X(1:DIM_NUM)) = exp ( sum ( X(1:DIM_NUM) ) ) % % Modified: % % 24 February 2007 % % Author: % % John Burkardt % % Parameters: % % Input, integer DIM_NUM, the spatial dimension. % % Input, real X(DIM_NUM), the argument. % % Output, real VALUE, the value of the function at X. % value = exp ( sum ( x(1:dim_num) ) );