Questions on arithmetic operations in Mathematica.
1
vote
1answer
166 views
Why is arithmetic faster for inexact arithmetic?
I have been trying to compute eigenvalues of a rather sizable matrix A, about $500 \times 500$ (but sparse). I asked Mathematica to compute ...
4
votes
2answers
175 views
Is there a way to show the details of a numerical computation?
I have recently started using Mathematica as a calculator while teaching (definitely overkill, but I try to use as few tools as possible). I would like my students to be able to trace simple numerical ...
0
votes
0answers
153 views
Rounding values [duplicate]
In Mathematica 8 when I enter 1 - 0.99 - 0.01 I get 8.67362*10^-18 instead of zero. How do I fix this problem?
I am getting ...
23
votes
2answers
467 views
Should 0 * 5ft be 0 or 0ft?
After playing with the new quantity system in Mathematica 9 for a while, I keep stumbling over this issue:
0 * Quantity[1, "Meters"]
is not the same as
...
1
vote
0answers
76 views
Non Commutative Multiply [duplicate]
Possible Duplicate:
Non-commutative symbolic linear algebra
I want to multiply two matrices, for example,
A = {{e, f}, {g, h}}
B = {{a, b}, {c, d}}
...
4
votes
1answer
144 views
Why can't I remove Orderless from Plus?
I am making some random algebra equations, and I want to have the ordering be random too, such that if my random equation generator makes x+1, the output stays ...
3
votes
11answers
746 views
Sum of Squares without multiplication
I want to sum the squares for a given number N from 1 without using Multiplication. Is it possible?
5
votes
3answers
929 views
Expressing a decimal as a fraction in lowest terms
How can I express a decimal such as 0.1845095405274387 as a fraction in its lowest terms?