Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Math Topics » geometry.pre-college.independent

Topic: calculating an angle between a point and a vector (kind of)
Replies: 2   Last Post: Jun 18, 2013 9:26 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 356
Registered: 9/16/06
Re: calculating an angle between a point and a vector (kind of)
Posted: Jun 12, 2013 2:48 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> Everythjing is in 2d.
> I have two points (p1 and p2). I know ther current
> x,y. One of those points (p1) has a bearing so on the
> grid it is more like a vector. I need to calculate
> the angle between the vector and the line p1p2.

A = x i + y j ; P = (x2 - x1) i + (y2 - y1) j

ArcCos(dot prod)/abs(A)/abs(P)


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.