To keep it short: How can I get the value (length) of b?
All other variables are known. Is it even possible? :(
Printable View
To keep it short: How can I get the value (length) of b?
All other variables are known. Is it even possible? :(
have a look at my new diagram attached. although you never marked it, im assuming that angle ABC is a right angle? if so here is the answer:
DBC = 90-w
therefore BDC = 180-v-(90-w)...angle sum of triangle BDC
BDC = 90-(v-w)
by the sine rule:
a/sin(BDC) = b/sin(DBC)
a/sin[90-(v-w)] = b/sin(90-w)
a/cos(v-w) = b/cos(w)
therefore b = a.cos(w)/cos(v-w)
if you are putting this in flash, make sure to change your v and w into radians by /180*PI
Thank you very much! ^^
It was quite important to find a solution fast so I posted
my problem over at actionscript.org too.
Here is the thread: http://www.actionscript.org/forums/s...d.php3?t=55409.