This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Yes, the x, y, and distance were defined. How do you define a sqrt? I looked in my books and on the net and couldn't find anything.
Didn't you just mentioned that you are going to use the method that is defined in the Math class?
Joined: Jan 30, 2000
[Steph]: How do you define a sqrt?
Probably you just want to use Math.sqrt() as Diels suggested. It's possible to define your own, but most likely that's well outside the scope of this problem. If you really want to know the details, you can google "Newton's method" and "square root" together to get a lot of discussion of the most common technique. But only do that if you're sure you can't just use a pre-existing method like Math.sqrt(). [ December 05, 2005: Message edited by: Jim Yingst ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com