POV-Ray : Newsgroups : povray.general : Math help : Re: Math help Server Time
30 Jul 2024 06:27:18 EDT (-0400)
  Re: Math help  
From: Stephen
Date: 31 Aug 2009 05:45:06
Message: <bl6n95dkdie52jvh33cjo1uporhc4rf1a5@4ax.com>
On Mon, 31 Aug 2009 04:48:08 -0400, SharkD <mik### [at] gmailcom> wrote:

>I have the following formula:
>
>	tan(theta) * R1 = sin(theta) * R2
>
>R1 and R2 are known. How do I solve for theta? Thanks!
>
>-Mike

It has been a very, very long time since  I did anything like this and I could
be far out. So don't take this for gospel ;)

tan(theta) * R1 = sin(theta) * R2

Therefore: tan(theta)  = sin(theta)  * r2/r1

But tan(theta)  = sin(theta) /cos(theta)  

Therefore: sin(theta) /cos(theta)  = sin(theta)  * r2/r1

Divide both sided by sin(theta) /cos(theta)  

1 = (sin(theta) * cos(theta) *r2)/(r1 * sin(theta) )

1 = cos(theta)  *r2/r1

Therefore: cos(theta)  = r2/r1

-- 

Regards
     Stephen


Post a reply to this message

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