An important problem in numerical analysis is to find a solution to the equation f (X) = 0 for some arbitrary f . If the function is continuous and has two points low and high such that f (low) and f (high) have opposite signs, then a root must exist between low and high and can be found by a binary search. Write a function that takes as parameters f , low, and high and solves for a zero. (To implement a generic function as a parameter, pass a function object that implements the Function interface, which you can define to contain a single method f.) What must you do to ensure termination?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.