There are a number of ways to do this, and you will investigate some of the alternatives in the homework. For now, let's stop when the difference between pos and neg becomes less than 1e-6.

Return to lesson.

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