POV-Ray : Newsgroups : povray.general : Mathematics question : Re: Mathematics question Server Time
6 Aug 2024 21:40:07 EDT (-0400)
  Re: Mathematics question  
From: Tim Cook
Date: 24 Jan 2002 00:12:14
Message: <3C4F979E.E63D8FA@scifi-fantasy.com>
Dan Byers wrote:
> As you can see by the lovely model, I have a triangle with a single
> right angle (iscoseles(sp) triangle? I'm guessing at this point...).

A triangle which posesses a 90 degree angle is a right triangle.

> The base of the triangle is 5 units wide, and the height is 4 units.
> Given we know the base/height angle is 90 degress and the length of
> the base and width, I'd like to know:
> 1)  The length of the hypotenuse (I think that's what it's called).
> 2)  The degree measurement of the other two angles.

For a right triangle with base x and height y:
a^2+b^2=c^2  x=rCOStheta   y=rSINtheta  theta=TAN-1(y/x)

x=5, y=4
SQRT(5^2+4^2) = SQRT(25+16) = 6.4031242374... units
TAN-1(y/x) = 38.6598082540... degrees
90-38.6598082540... = 51.3401917459... degrees


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.