MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Distance between to points in r^3

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41602] Re: [mg41576] Distance between to points in r^3
  • From: David Terr <dterr at wolfram.com>
  • Date: Wed, 28 May 2003 04:57:32 -0400 (EDT)
  • Organization: WRI
  • References: <200305270547.BAA00531@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Ronny Mandal wrote:

> Hi.
> 
> Assume that I've got to vectors  (3,4,5) and (6,7,8).How do I 
> calculate the distance between them?
> 
> Thanks in advance.
> 
> Ronny M
>
The distance between the points (x1,y1,z1) and (x2,y2,z2) is 
Sqrt[(x1-x2)^2+(y1-y2)^2+(z1-z2)^2]. For your points, the distance is 
Sqrt[9+9+9]=Sqrt[27]=3 Sqrt[3], which is approximately 5.19615.

David



  • Prev by Date: info about fonts in eps
  • Next by Date: Re: Distance between to points in r^3
  • Previous by thread: Distance between to points in r^3
  • Next by thread: Re: Distance between to points in r^3