mqb

30 Reputation

4 Badges

8 years, 120 days

MaplePrimes Activity


These are questions asked by mqb

Hi, I'm trying to show some matrix multiplication and show the pre-evaulated expression as well as the result. 

m1 := Matrix([[1, 2], [3, 4]]);
m2 := Matrix([[5, 6], [7, 8]]);
print(m1, m2 = Multiply(m1, m2))

What I'd really like is for the comma in the printed expression (on the left hand side) to be replaced by a multiplication or dot sign.  Hopefully thanks in advance.

Hi, 

  I'm trying to set the display precision at the start of the worksheet and using the command

interface(displayprecision = 4):

seems to work fine. However, it seems to have no effect when I put it in the startup code instead.  Am I doing something wrong or does the startup code execute differently somehow?

Thanks

1 2 Page 2 of 2