Linked Questions

0
votes
3answers
1k 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 ...
1
vote
1answer
530 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 ...
4
votes
1answer
248 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 ...
0
votes
1answer
72 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
1
vote
0answers
42 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 ...
41
votes
3answers
2k 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: ...
7
votes
4answers
2k 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 ...
8
votes
2answers
2k 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 ...
9
votes
3answers
444 views

Complex result for Real vectors in VectorAngle

I was expecting a real angle using VectorAngle when passing real valued vectors, but I obtained a complex angle: ...
10
votes
1answer
585 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 <...
6
votes
4answers
133 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 ...
6
votes
1answer
2k views

How to make the imaginary part of a +0. I zero globally?

Values like a +0. I are really annoying. Answers from How to reduce expressions with complex coefficients in the form of a+0.*I? Is there a way to globally set when to treat a very small number as ...
5
votes
1answer
806 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 ...
4
votes
1answer
881 views

How is Precision of Imported Data managed?

I am working on a financial/banking type application and part of the work is to import numeric data of 15 to 20 digits of precision. I am having trouble determining the best way this should be done. ...
1
vote
1answer
1k views

Increasing number of decimal places in Manipulate input

I've made a Manipulate app. in Mathematica where I vary the value of a function f(a) by varying the parameter a. However, I seem to only be able to edit my input for a for a value up to 5 decimal ...

15 30 50 per page