exponents when changing from 3.0 to 4.0
- To: mathgroup at smc.vnet.net
- Subject: [mg24207] exponents when changing from 3.0 to 4.0
- From: Ruchi5ten at aol.com
- Date: Fri, 30 Jun 2000 01:57:34 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
i made a program on mathematica 3.0 and i'm trying to use on mathematica 4.0.
in 3.0 the output for an operation (that i attached at the bottom of this
email) is "0" but in 4.0 it gives me "0. + 0. I" where I is an imaginary
number.
the question: how do i make it so that the ouput rounds itself to 0 since
obviously 0 + 0 times anything is zero ? (i want it to apply to the whole
document, not just one function)
sincerely
sipai klein
attachement:
I ask for a table
Table[listpro[x_][[y]].matrices[[y]], {y, 4}]
where matrices[[y]] is
matrices=Table[matrix[t_, r_]={{I t, r}, {r, I t}}*E^(I*asd[[yy]]), {yy,
4}];
and listrpro[x_] is {{1, 0}, {0, 0}, {0, 0}, {0, 0}}