Solved

# Find angle given 3 coordinates

Posted on 2011-10-24
383 Views
For the attached figure can someone give me the formula to calculate the angle theta?
Deflection-angle.png
0
Question by:Saqib Husain, Syed

LVL 11

Expert Comment

calculate the distance between the plotted points and use trigonometry....

http://www.1728.org/indextrg.htm
0

LVL 43

Author Comment

I am looking for a formula which I can use in my spreadsheet. (This is not homework)
0

LVL 11

Expert Comment

0

LVL 43

Author Comment

I do not see any formula on these pages which would give me the desired result. Please post only if you have a formula.
0

LVL 84

Accepted Solution

arccos(((x3-x1)*(x2-x3)+(y3-y1)*(y2-y3))/
sqrt(((x3-x1)*(x3-x1)+(y3-y1)*(y3-y1))*((x2-x3)*(x2-x3)+(y2-y3)*(y2-y3)))
0

LVL 43

Author Closing Comment

Thanks a lot...saved me a few hours.

Saqib
0

## Featured Post

Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a nega…
This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.