Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here I have a 2 points. $A$ (lat,lng) and $B$ (lat,lng), this two point is hypotenuse of right triangle.

How I can get legs length if I know angle, hypotenuse and these points?

share|cite|improve this question

Make equations like:

1) $$\frac{\sin(\text{angle})}{\sin(90^{\circ}-\text{angle})} = \frac{\text{firstLeg}}{\text{secondLeg}}$$

2) $$\text{firstLeg}^2 + \text{secondLeg}^2 = \text{hypotenuse}^2$$

share|cite|improve this answer
I dont know angle, I just know that I have right angle triangle and hypotenuse – adria Aug 5 '13 at 10:41
so then it could be an infinite number of different triangles :) unless you have some more information, like the legs are both the same length or something... – Gintas K Aug 5 '13 at 10:46
yes I have First point(lat,lng) and Second point(lat,lng) – adria Aug 5 '13 at 13:00
as I understood it's the end points of a hypotenuse? – Gintas K Aug 5 '13 at 13:14
yes but every point have latitude and longitude – adria Aug 5 '13 at 14:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.