Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Point outside circle, angle

  1. Oct 14, 2007 #1
    Hello all,
    sorry if this is a trivial question, or if it's been asked before, but I'm not good with math terminology so my googling doesn't give me much info.. I'm trying to work out a problem in order to recreate some functions that are missing from the public API of Google Earth. (If this is solved I'll post the results for the benefit of other GE users)

    I have circle, with a known radius (center called C), and a point B outside a circle at a known distance. I also have a known angle from the point which projects at some point A on the circle's circumference. How can I calculate the angle ACB, i.e. the angle between the circle's center to B and the circle's center to A?

    I (hope I've managed to) upload an image describing the problem.

    Thanks a lot,

    Attached Files:

  2. jcsd
  3. Oct 15, 2007 #2
    what do you mean by projects?
  4. Oct 15, 2007 #3
    I think he means a line that connects B to A.

    In that case, from what I understand you know the length of CB(given) and CA(radius of the circle). You know the angle CBA(given) as well. Using law of cosines, you can find the length of the other side, BA. Then using law of cosines again, you can calculate the angle you need.
  5. Oct 15, 2007 #4
    I found this:
    Math.Asin(side2 * Math.Sin(angle1) / side1)
    which, according to the description, should give me the CAB angle. I don't see why exactly, but I'm happy as long as it works. Thanks anyway!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook