% Numerical Mathematics and Computing, Fifth Edition
% Ward Cheney & David Kincaid
% Brooks/Cole Publ. Co.
% (c) 2003
%
% file:  Fcn.m
%
% This M-file is invoked by the file 'gauss_newton.m'.

function F = Fcn(X)
F(1) = X(1) + X(2) + X(3) - 3;
F(2) = X(1)^2 + X(2)^2 + X(3)^2 - 5;
F(3) = exp(X(1)) + X(1)*X(2) - X(1)*X(3) -1;
