can anyone help me in this.. may i know how to use "log" in Java. For example, this is the part that i need to use log algorithm: g = (min + log((double)min)) ; thanks __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com