PLEASEEEE HELP WITH THIS PROJECT Let g R rightarrow R be suc

PLEASEEEE HELP WITH THIS PROJECT!!!!!!
Let g: R rightarrow R_+ be such a function that g elementof C^1 (R) and for all x elementof R. - 1

Solution

function newton

x0=input(\'Enter starting Point=\');
E =f;
G =df;
x(1) = x0 - (E(x0)/G(x0));
ex(1) = abs(x(1)-x0);
k = 2;
while (ex(k-1)/abs(x(k-1)) >= 10^(-.5)) && (k <= 15)
x(k) = x(k-1) - (E(x(k-1))/G(x(k-1)));
ex(k) = abs(x(k)-x(k-1));
k = k+1;
end

end

syms g;
g=@(x) x.^5-2*x.^3+x+2;

syms g;
g=@(x) 5*x.^4-6*x.^2+1;

PLEASEEEE HELP WITH THIS PROJECT!!!!!! Let g: R rightarrow R_+ be such a function that g elementof C^1 (R) and for all x elementof R. - 1 Solutionfunction newto

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site