06-Nov-2013 1> edit bi.m 2> edit bis.m 3> help bis 'bis' is a function from the file C:\cygwin\home\achilles\bis.m bis(f,a,b) metodo di bisezione Additional help for built-in functions and operators is available in the online version of the manual. Use the command 'doc ' to search the manual index. Help and information about Octave is also available on the WWW at http://www.octave.org and via the help@octave.org mailing list. 4> fun = inline('x.^2') fun = f(x) = x.^2 5> fun(5) ans = 25 6> fun = inline('x.^2-2') fun = f(x) = x.^2-2 7> fun(5) ans = 23 8> bis(fun,1,2) ans = 1.4142 9> format long 10> bis(fun,1,2) ans = 1.41421356237309 11> sqrt(2) ans = 1.41421356237310 12> bis(fun,-2,2) ans = -1.41421356237309 13> quit