Current location - Training Enrollment Network - Mathematics courses - What is the dichotomy in mathematics?
What is the dichotomy in mathematics?
Generally speaking, for the function f(x), if there is a real number c, when x=c is f(c)=0, then x=c is called the zero point of the function f(x).

Solving the equation requires all zeros of f(x).

Find a and b first, so that the signs of f(a) and f(b) are different, that is to say, there must be zero in the interval (a, b), and then find f[(a+b)/2].

Now suppose f (a)

If f[(a+b)/2]=0, the point is zero.

If f [(a+b)/2]

if f[(a+b)/2]>; 0, same as above

By reducing the cell where the zero point of f(x) is located by half at a time, the two endpoints of the interval gradually approach the zero point of the function, thus obtaining the approximate value of the zero point. This method is called dichotomy.

Because the specific operation of the calculation process is complicated, but each step is the same, it can be calculated by writing a program.