corrected formula is pasted below:
c = SQUARE ROOT OF ( a^2 + b^2)
I agree with yzaykov, you can square on both sides, so as to avoid computing square root.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |