Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Precision in Mathematica' topicStudent Support Forum > General > "Precision in Mathematica"

Next Comment >Help | Reply To Topic
Author Comment/Response
Ali Imtiaz
10/29/08 02:04am


I am trying to do matrix operation in mathematica and as part of my assignment I need to make the output to 4 decimal places.

For example in one line of my code I had:

In[25]:= r1 = r1 / 1.985

Out[25]= {1., -0.684131, 1.06448, -2.80101}

I need to find a way where I can set the precision after the decimal to 4 decimal places and can't seem to find anything.

The default is a believe 16 decimal places. Anyone knows how I can make Mathematica do just 4?


A copy of my workout is attached with this post.

Attachment: Question 1_WITHOUT PIVOTING.nb, URL: ,

Subject (listing for 'Precision in Mathematica')
Author Date Posted
Precision in Mathematica Ali Imtiaz 10/29/08 02:04am
Re: Precision in Mathematica MF 11/14/08 07:37am
Re: Precision in Mathematica Kaveh 11/15/08 10:31am
Re: Precision in Mathematica Kyle 11/16/08 00:01am
Re: Precision in Mathematica Ali Imtiaz 11/18/08 7:36pm
Next Comment >Help | Reply To Topic