ABSTRACT

This chapter discusses the search method for obtaining a small interval in which a root lies. It also discusses MATLAB's fzero and roots functions, which may be used to obtain a more accurate value for the roots of type of equations just stated. In the search method, we seek a small interval that contains a real root. This only gives an approximate value for the real root. MATLAB has built-in functions to determine the roots of a function of one variable, such as a transcendental equation or an nth degree polynomial. The fzero function is used for transcendental equations and will determine the real roots of the equations. MATLAB has a function named roots that obtains the roots of a polynomial. The function determines both real and imaginary roots of the specified polynomial. The fzero function is for a single variable nonlinear function whose root we wish to determine.