% % Written by: % -- % John L. Weatherwax 2009-04-21 % % email: wax@alum.mit.edu % % Please send comments and especially bug reports to the % above email address. % % Problem on EPage 63; Solutions on EPage 161 % %----- close all; clc; clear all; addpath('../../BookCode'); fn = @(x) ( [ 2*x(1) - sin((x(1)+x(2))/2); 2*x(2) - cos((x(1)-x(2))/2) ] ); broyden( [10,-10].', fn, 2, 1.e-4 )