Linked Questions

0 votes
3 answers
2k views

How to display the value of a very small number instead of "0." [duplicate]

I need to perform an integration. There is one particular value, which may be very small that is showing up as 0.. Is there any command in Mathematica 9 that will ...
ARIJIT's user avatar
  • 73
1 vote
1 answer
716 views

How can I obtain more significant digits? [duplicate]

I type f1[x_] := 12 x^5 - 975 x^4 + 28000 x^3 - 345000 x^2 + 1800000 x N[f1[15.5], 15] and obtain 3.74112*10^6 BUT It´s not true!!! the result is larger than ...
Mika Ike's user avatar
  • 3,241
4 votes
1 answer
325 views

Exp[x] answers 1 for small x [duplicate]

I'm getting the same answer "1" for Exp[x] with x less than "1.1*10^-16", and I really need to calculate much smaller numbers (in order of 10^-40). I tried using SetPrecision[Exp[x],1000]. Obviously ...
Pedram's user avatar
  • 330
2 votes
2 answers
131 views

Digits not displayed in result of simple computation [duplicate]

Matlab: ...
Dims's user avatar
  • 735
0 votes
1 answer
84 views

Oddity with ToExpression [duplicate]

Is this a bug? ToExpression["3231.432"] 3231.43 I would have expected the following: 3231.432 I am using Mathematica 10.2.0
DavidC's user avatar
  • 16.7k
1 vote
1 answer
128 views

How to make Mathematica work only with 10 digits? [duplicate]

I have a quite frustrating problem. In my code, I need Mathematica to ignore everything after 10 digits. For example I need it to treat: 25.26011447795545 as ...
2132123's user avatar
  • 657
0 votes
0 answers
60 views

On the precision of `Table` calculation [duplicate]

I want to add two arrays length and Apice, It's accuracy to six decimal places. When I use ...
shrocat's user avatar
  • 189
1 vote
0 answers
47 views

Frontend displays wrong number digits [duplicate]

How do I change the default precision in Mathematica? Somehow the setting has been changed to 1 digit, so if I type Timing[...] I get {1., ...} which is not ...
Charles's user avatar
  • 1,359
50 votes
4 answers
3k views

Funny behaviour when plotting a polynomial of high degree and large coefficients

I am trying to plot a polynomial of degree $29$ on the domain $[0,1]$, with fairly large coefficients: ...
AUK1939's user avatar
  • 1,493
12 votes
4 answers
1k views

Complex result for real vectors in VectorAngle

Bug introduced in 10.0 or earlier and fixed in 12.0.0 or earlier I was expecting a real angle using VectorAngle when passing real valued vectors, but I obtained a ...
Adam Law's user avatar
  • 143
7 votes
4 answers
3k views

Mathematica Precision

How can I set the output precision of the following statement to 10 decimal places? I was looking through the documentation, and for some reason, all I could find was ...
Oliver Spryn's user avatar
9 votes
2 answers
3k views

A problem about function N

Toady,I have a problem about N,described as below: For example N[1/3, 5] (* ==> 0.33333*) and ...
xyz's user avatar
  • 605
10 votes
1 answer
708 views

Confused by (apparent) inconsistent precision

$$ e^{\pi \sqrt{163}} \approx 262537412640768743.99999999999925 $$ E^(Pi Sqrt[163.0]) N[E^(Pi Sqrt[163.0]), 35] NumberForm[E^(Pi Sqrt[163.]), 35] returns <...
stevenvh's user avatar
  • 6,856
6 votes
4 answers
176 views

Suppress trailing 0s in numerical values

For example, this is what I want In[1]:= N[Table[4^(i/4), {i, 1, 4}]] Out[1]= {1.41421, 2., 2.82843, 4.} But if I want a few more digits only from the irrational ...
goweon's user avatar
  • 163
6 votes
1 answer
2k views

Set number of digits after decimal separator

How can I specify the amount of digits after the decimal separator in output without limiting the total number of digits? Simple question, but I could not find the answer anywhere. I did find ...
GambitSquared's user avatar

15 30 50 per page