% Metoda regula falsi - Algoritem 3.3.1 % Resevanje enacbe f331(x) = 0 % Podatki %% a, b stevili (a epsy) * (b-a > epsx) if fa*fc<0 b=c; fb = fc; else a=c; fa = fc; end c=a - fa*(b-a)/(fb-fa); C = [C c]; fc = f331(c); end