Re: Problem with finding angles between points in Cartesian plane

• To: mathgroup at smc.vnet.net
• Subject: [mg26126] Re: Problem with finding angles between points in Cartesian plane
• From: phbrf at t-online.de (Peter Breitfeld)
• Date: Tue, 28 Nov 2000 01:56:12 -0500 (EST)
• References: <8vfqv9\$jif@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Blitzer <drek1976 at yahoo.com> schrieb:
> I would like to find the angle between 2 points on the Cartesian plane.
> However, if I use "ArcTan", it is not able to recognise that points with the
> same x-coordinates have an angle of 90 degrees between them. It returns
> "Indeterminate".
> eg. for a point A (x1, y1) and a point (x1, y2), to find the angle between
> them, I use ArcTan[(y2-y1)/(x1-x1)].
[*** snipp ***]

Use ArcTan[(x1-x2),(y1-y2)]

Peter
--
=--=--=--=--=--=--=--=--=--=--=--=--=--=  http://home.t-online.de/home/phbrf
Peter Breitfeld, Bad Saulgau, Germany    Meinen GnuPG/PGP-5x Key gibts hier

```

• Prev by Date: mathematica pacakages - technical trader
• Next by Date: New version of Mathematica
• Previous by thread: RE: Problem with finding angles between points in Cartesian plane
• Next by thread: Re: Problem with finding angles between points in Cartesian plane