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:(adsbygoogle = window.adsbygoogle || []).push({});

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

where [tex]l_{0}[/tex] and [tex] b_{0}[/tex] 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!

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Galactic distance equation

Loading...

Similar Threads - Galactic distance equation | Date |
---|---|

I Dipole repeller - what is it? | Jan 30, 2017 |

I Converting galactical coordinates to horizontal/geographical coordinates | Nov 27, 2016 |

Galactic density in the low-mid distances from core | Nov 16, 2015 |

Cant find Supernova Catalogue with distance moduli, galactic coordinates, redshift? | Jul 31, 2012 |

Earth's distance from the galactic center? | Dec 15, 2008 |

**Physics Forums - The Fusion of Science and Community**