POV-Ray : Newsgroups : povray.newusers : Simple trig question Server Time
29 Jul 2024 02:20:57 EDT (-0400)
  Simple trig question (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Leroy
Subject: Re: Simple trig question
Date: 13 Jun 2007 23:58:10
Message: <4670BBFC.2030205@joplin.com>
TheMightyZog wrote:
> Thanks Warp, but
>    rotate<(degrees(atan2(1,2))),0,0>
> or
>    rotate<(atan2(1,2)),0,0>
> is not the same as
>   rotate<30,0,0>
> 
> - 'tis a real puzzle!
> 
the tangent of 30 degrees is NOT 1/2
   degrees(atan2(1,2))= 26.56 degrees
   degrees(atan2(sqrt(3),1))= 30 degrees
           *
           * *
  sqrt(3)  *30 *   2
           *     *
           *90   60*
           **********
               1
  sin(30)=1/2        cos(60)=1/2
  cos(30)=sqrt(3)/2  sin(60)=sqrt(3)/2
  tan(30)=1/sqrt(3)  tan(60)=sqrt(3)/1


Post a reply to this message

From: TheMightyZog
Subject: Re: Simple trig question
Date: 14 Jun 2007 03:06:08
Message: <4670e8e0@news.povray.org>
Apologies for the trouble you have all been put through by my 'senior
moment'
I see the silly mistake now
And thank you Alan and Tim for your alternative suggestions
Zog

"Leroy" <lrw### [at] joplincom> wrote in message
news:467### [at] joplincom...
> TheMightyZog wrote:
> > Thanks Warp, but
> >    rotate<(degrees(atan2(1,2))),0,0>
> > or
> >    rotate<(atan2(1,2)),0,0>
> > is not the same as
> >   rotate<30,0,0>
> >
> > - 'tis a real puzzle!
> >
> the tangent of 30 degrees is NOT 1/2
>    degrees(atan2(1,2))= 26.56 degrees
>    degrees(atan2(sqrt(3),1))= 30 degrees
>            *
>            * *
>   sqrt(3)  *30 *   2
>            *     *
>            *90   60*
>            **********
>                1
>   sin(30)=1/2        cos(60)=1/2
>   cos(30)=sqrt(3)/2  sin(60)=sqrt(3)/2
>   tan(30)=1/sqrt(3)  tan(60)=sqrt(3)/1
>


Post a reply to this message

From: Stephen
Subject: Re: Simple trig question
Date: 14 Jun 2007 03:55:02
Message: <web.4670f394f87630f4726bd13c0@news.povray.org>
"TheMightyZog" <Chr### [at] HotPOPcom> wrote:
> Apologies for the trouble you have all been put through by my 'senior
> moment'
> I see the silly mistake now
> And thank you Alan and Tim for your alternative suggestions
> Zog
>



triangle to remind me. That might be one of the reasons I use a modeler.



Stephen


Post a reply to this message

From: Penelope20k
Subject: Re: Simple trig question
Date: 14 Jun 2007 04:01:31
Message: <4670f5db$1@news.povray.org>

news:web.46703502695d64ebff6e04e90@news.povray.org...
> I'm ashamed to have to ask this, but I just can not remember how to
> calculate an angle in degrees if I know the opposite and adjacent side of
a
> right-angled triangle.
>
> My only excuse is that I'm an OAP and school was just years ago and then
> radians were not taught!
>
> Help!
>
> Thanks
> Zog
>
>


degrees(atan2(A,B))


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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