%
=====================================================
% Newton_2D_test1b_calc_f.m
%
% This MATLAB m-file calculates the function
value
% for a simple set of 2 non-linear equations.
%
% K. Beers. MIT ChE. 10/17/2001
function f = Newton_2D_test1b_calc_f(x,Param);
f = [0; 0];
f(1) = 3*x(1)^3 + 4*x(2)^2 - 145;
f(2) = 4*x(1)^2 - x(2)^3 + 28;
return;