
METODE PENGURUNGAN------------------------------------1. Metode BagiduaPada Soal f(x)=x^3+2x^2+10x-20=0================================================2. Metode Regula Falsicaranya:-execute-ketik: regulafalsi(f, 1, 1.5, 0.000001)*ket: 1 ama 1.5 itu selangnya, 0.000001 itu epsilon.================================================function y=f(x)y=x^3 + 2*x^2 + 10*x - 20;endfunctionfunction xn=regulafalsi(f, a1, b1, aprox)i=1;ea(1)=100;if f(a1)*f(b1) < 0x0(1)=a1;x1(1)=b1;xn(1)=x0(1)-f(x0(1))*(x1(1)-x0(1))/(f(x1(1))-f(x0(1)));printf('r.\t\t x0\t\t xn\t\t x1\t Error \n');printf('%2d \t %11.7f \t %11.7f \t %11.7f \n',i,x0(i),xn(i),x1(i));while abs(ea(i))>=aprox,if...