Purchase Solution

Algorithm for Bisection method

Not what you're looking for?

Ask Custom Question

A continuous function f(x) such that f(a) and f(b) have opposite signs, must have a zero (a point x such that f(x) = 0) in the interval [a, b].

Give a pseudocode for the bisection method algorithm Bise(f(x),a,b,error) for finding an approximation to a zero of a continuous function f(x) in the interval [a, b] accurate to within error.

Purchase this Solution

Solution Summary

The solution briefly explains the working of bisection method before giving the algorithm pseudocode.

Solution Preview

By checking whether f(a) and f((a+b)/2) have opposite signs, we can determine whether a zero occurs in the subinterval [a, (a+b)/2] or in the subinterval [(a+b)/2, b]. The bisection method ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

C# variables and classes

This quiz contains questions about C# classes and variables.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

C++ Operators

This quiz tests a student's knowledge about C++ operators.