Re: Non-calculus vector math

• To: mathgroup at smc.vnet.net
• Subject: [mg75721] Re: [mg75668] Non-calculus vector math
• From: DrMajorBob <drmajorbob at bigfoot.com>
• Date: Wed, 9 May 2007 04:31:26 -0400 (EDT)
• References: <9974391.1178620062660.JavaMail.root@m35>

```Does this help at all?

vectorForm[{a_, b_, c_}] :=
a HoldForm[i] + b HoldForm[j] + c HoldForm[k]
{i, j, k} = IdentityMatrix[3];
(3 i + 6 j - 1 k) + 35 (1 i - 4 j + 5 k)
% // vectorForm
ReleaseHold[%]

{38, -134, 174}

38 i-134 j+174 k

{38, -134, 174}

Bobby

On Tue, 08 May 2007 04:52:39 -0500, David Rees  =

<w3bdevilREMOVE at THISw3bdevil.com> wrote:

> Ahoy,
>
> How can I perform elementary vector math in Mathematica? From what I'v=
e
> found, it's all Vector Calculus, but what about trivial/elementary vec=
tor
> math?
>
> Things like: "Particle A with position unit-vector of (3i+6j-1k) and
> velocity vector (1i-4j+5k)ms^-1 collides with Particle B 35 seconds af=
ter
> moving off from its initial position, where did it collide?"
>
> Thanks
>
>
>
>

-- =

DrMajorBob at bigfoot.com

```

• Prev by Date: Re: Re: General::obspkg and "Compatibility Guide"???
• Next by Date: Re: How come doesn't this work?
• Previous by thread: Re: Non-calculus vector math
• Next by thread: Re: Non-calculus vector math