Used new fcuntion from scilab to derivate and implements secant method to the root.