Pythagorean theorem function



for all your a^2 b^2 = c^2 needs.

Usage

$precision is how much it rounds off at the decimal point. Only works for right triangles. Put false in the a, b, or c value that you are trying to find.

Comments

Posted on 01.07.2008 05:15 by steve

That is one cool function!

Posted on 20.07.2008 23:41 by curtis

That is a very cool method of implementing a way to use the theorem. Very nice =)



loader

progress bar