The Bisection method.
bisection_simple.m
is a bare bones code. This is to start you off with some simple code.
bisection_plots.m
is bisection_simple.m, augmented with plots to illustrate the algorithm's
progress. Your code should include features like this when it helps
you better understand what the algorithm does.
bisection_function.m
and
f_bisection.m
go together. The bisection code calls the function f_bisection which
makes the algorithm portable - that is easy to apply to other functions.
This is to illustrate how to use functions and use them in a regular
m-file.