RE: Distance between to points in r^3
- To: mathgroup at smc.vnet.net
- Subject: [mg41578] RE: [mg41576] Distance between to points in r^3
- From: "Florian Jaccard" <jaccardf at eicn.ch>
- Date: Tue, 27 May 2003 05:25:27 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
create a finction : dist[a_,b_]:=Sqrt[(a-b).(a-b)] Then, use : dist[{3,4,5},{6,7,8}] Meilleures salutations Florian Jaccard -----Message d'origine----- De : Ronny Mandal [mailto:ronnyma at math.uio.no] Envoyé : mar., 27. mai 2003 07:48 À : mathgroup at smc.vnet.net Objet : [mg41576] Distance between to points in r^3 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