From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab
Date: Thu, 11 Mar 2010 19:18:38 +0000 (UTC)
Organization: Mitre Corp
Lines: 12
Message-ID: <hnbfme$ah2$>
References: <hnbe1f$l25$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1268335118 10786 (11 Mar 2010 19:18:38 GMT)
NNTP-Posting-Date: Thu, 11 Mar 2010 19:18:38 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2318
Xref: comp.soft-sys.matlab:616052

"Kevin Sze" <> wrote in message <hnbe1f$l25$>...
> Write a function m-file with input a,b that outputs the first 20 iterations of the Bisection Method to find a root of the equation f(x)=0. The m-file should output the root to 15 decimal places.(include a short comments on each line to explain the commands used)
> How to do this question? If anyone know, please help me. Thank you.

Take a look at this link (for the pseudo code):

Then code it in MATLAB.
If you still need help see the MATLAB "Getting Started" Documentation at: