Re: Cross results?
- To: mathgroup at smc.vnet.net
- Subject: [mg63223] Re: Cross results?
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Mon, 19 Dec 2005 07:01:37 -0500 (EST)
- Organization: The University of Western Australia
- References: <do3l7r$o0b$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <do3l7r$o0b$1 at smc.vnet.net>,
Virgil Stokes <virgil.stokes at it.uu.se> wrote:
> I have the following
>
> x=.
> Cross[{10 Sin[x],-10 Cos[x],2.5},{0.12 Sin[x],-0.12 Cos[x], 0.0}]
>
> which gives,
>
> {0.3 Cos[x], 0.3 Sin[x], 0.Cos[x]Sin[x]}
>
> why does it not set the last term to 0.0?
Mathematica does not automatically simplify expressions such as
0. x
Use Chop to force the desired simplification.
Cheers,
Paul
_______________________________________________________________________
Paul Abbott Phone: 61 8 6488 2734
School of Physics, M013 Fax: +61 8 6488 1014
The University of Western Australia (CRICOS Provider No 00126G)
AUSTRALIA http://physics.uwa.edu.au/~paul