1
$\begingroup$

Does anybody know how to solve this problem? I am trying to calculate the green sides of this triangle:

enter image description here

I know / have :

the arc length, the arch base, the radius, and the h (distance from the red dot to the center of the circle)

Is it possible :) ?

Thanks a lot!

  • 0
    duplicated here: http://math.stackexchange.com/questions/917692012-02-17

1 Answers 1

3

No, this isn't possible. What you have is invariant under rotations, but the lengths of the green sides aren't. You need something that fixes the orientation, ideally the angle that the chord makes with one of the axes or something similar.

  • 0
    And say I have the coordinates of the left most black dot? Then it should be possible right?2011-12-15
  • 0
    Yes. In that case, it would be easiest to translate your coordinate system such that the origin lies at the centre of the circle (i.e. subtract the radius from all coordinates); then you could calculate the angle at which that black dot lies from the centre as the arctangent of the ratio of its coordinates, and then add the arctangent of the ratio of $dB$ to $h$ to get the angle $\alpha$ at which the red dot lies from the centre; then its coordinates (in the translated coordinate system) are $(h\cos\alpha,h\sin\alpha)$.2011-12-15
  • 0
    You'll need to take some care to get the signs right. If your computing environment has an atan2 function, you should use that; otherwise you might have to make some case distinctions.2011-12-15