|
![](/i/fill.gif) |
gharryh wrote:
> From a triangle from whom i know the length of both legs (A and B) i want to
> calculate the longest leg (C).
> As i remember from school its C*C=A*A+B*B where A=62.5 and B=17.
> Translated into PovRay its C=sqrt(pow(A,2)+pow(B,2)) but the result is much
> smaller. The correct result for C should be +/-32.596
I don't know where you get your C=32.596 from but this is impossible, in
this case A would be bigger than B+C, which means that no triangle will
have sides of these lengths, no matter what the angles are...
--
Vincent
Post a reply to this message
|
![](/i/fill.gif) |