Answer

The function should take two parameters: a floating-point number neg such that f(neg) is negative, and a floating-point number pos such that f(pos) is positive. It should return a floating-point number root such that f(root) is sufficiently close to zero.

Return to lesson.



Joseph L. Zachary
Hamlet Project
Department of Computer Science
University of Utah