Graphical representation of the application of the bisection and secant methods for obtaining roots of equations using Matlab

In this work, a Graphical User Interface in Matlab is implemented that allows visualizing the process animation performed by the Bisection and Secant methods to find the roots of simple equations and more complex expressions in since the manual calculation becomes tedious. This interface represents a useful tool for a better understanding of the behavior of these methods and is an aid to teaching in engineering. The interface allows the user to enter the function to be analyzed, the initial values, the minimum allowed error, the maximum accepted iterations and control the animation speed. In addition, in each iteration it allows the user to visualize the approximate value of the root, the current error and iteration.