You are on page 1of 1

x1=input('\n Enter Initial guess,x1=');

f=inline('x.^3-15*x+8');
x2=fzero(f,x1);
fprintf('\n Root=%f',x2);

You might also like