Problems I am having with calculations:


THIS INTERACTIVE JAVA APPLET WAS DEVELOPED AT UT AUSTIN BY Brian Adams, UNDER THE SUPERVISION OF PROFESSOR. Spyros A. Kinnas, 1998.

PERMISSION TO LINK TO THIS JAVA APPLET AND TO DOWNLOAD OR TO USE THE RELATED JAVA SOURCE CODE, MUST BE GRANTED BY PROFESSOR Spyros A. Kinnas ( kinnas@mail.utexas.edu ).


Here are the equations that I am trying to implement in the Viscous Drag applet. The problem that I am faceing is that the program only goes through the NewtonMethod method twice. If I force it to do 100 iterations using an if statement, I get -1.#IND as the answer 98 times and a numerical value twice. I've looked over the equations a number of times, and have also broken them down, but they give the same result even in their simpler form. (All calculations are performed in the dragMath class).