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
- References:
- Distance between to points in r^3
- From: "Ronny Mandal" <ronnyma@math.uio.no>
- Distance between to points in r^3