Where does the galactic distance equation come from?

  • Thread starter Thread starter Ayame17
  • Start date Start date
AI Thread Summary
The discussion centers on understanding the origin of the galactic distance equation used in a project. The equation, which calculates the distance of data points from defined central galactic coordinates, is derived from the Pythagorean theorem, representing the relationship between the coordinates in a circular format. The user seeks clarification on how the distance (d) fits into the rearranged equation of a circle. It is confirmed that the distance is indeed the hypotenuse in the context of the equation. The conversation emphasizes the connection between the equation and basic geometric principles.
Ayame17
Messages
43
Reaction score
0
I'm currently working on my final year project, and one of the little bits to do is to see if certain data points fall within a circle with my own defined radius and central co-ordinates. I've been given the equation to use:

d = \frac{\sqrt{(l-l_{0})^2 + (b-b_{0})^2}}{r}

where l_{0} and b_{0} are my central galactic co-ordinates, r is my radius (in degrees) and d is the distance the data point is from the central co-ordinates (also in degrees) - if d is less than 1, then the point is within my radius.

Although I don't need to, I'd just like to know where the equation comes from! I can see how the right hand side of the equals is a rearrangement of the equation of a circle, but I don't see how the distance is put in. Any help is appreciated!
 
Astronomy news on Phys.org
I realized that it must be Pythagoras, as that's where the equation for a circle comes from, it was more the fact that - when rearranged from the equation - the hypotenuese would be r^2d^2. Since it is normally just r^2, I wasn't sure if you were able to just put the distance (d^2) in.
 
This thread is dedicated to the beauty and awesomeness of our Universe. If you feel like it, please share video clips and photos (or nice animations) of space and objects in space in this thread. Your posts, clips and photos may by all means include scientific information; that does not make it less beautiful to me (n.b. the posts must of course comply with the PF guidelines, i.e. regarding science, only mainstream science is allowed, fringe/pseudoscience is not allowed). n.b. I start this...
Asteroid, Data - 1.2% risk of an impact on December 22, 2032. The estimated diameter is 55 m and an impact would likely release an energy of 8 megatons of TNT equivalent, although these numbers have a large uncertainty - it could also be 1 or 100 megatons. Currently the object has level 3 on the Torino scale, the second-highest ever (after Apophis) and only the third object to exceed level 1. Most likely it will miss, and if it hits then most likely it'll hit an ocean and be harmless, but...
Back
Top