6. (15 points) Consider solving the system of nonlinear equations:
xy = z^2 + 1
xyz + y^2 = x^2 + 2
e^x + z = e^y + 3
(a) Perform three iterations (by hand) of the Newton-Raphson method to determine the approximate roots of the system of equations. Starting with (1, 1, 1)^T,
(b) Enhance the Newtons method MATLAB code for one variable to three variable problem and apply it to the given system of nonlinear equations.