09-04-2006, 08:59 AM
09-04-2006, 10:45 AM
Thomas, do you need the formula/algorithm or is it a programming problem? I can help you with the former. Rgds, Anders
09-05-2006, 02:25 AM
Quote:
Thomas, do you need the formula/algorithm or is it a programming problem? I can help you with the former. Rgds, Anders
Hi
I need the formula/algorithm the programming is not the problem.
Regards, Thomas
09-05-2006, 08:41 AM
There's a closed-form formula for this on Wikipedia. I haven't verified it but it looks like the one I've been using for a very long time and have no problems with it.