Linked Questions
22 questions linked to/from Confused by (apparent) inconsistent precision
3
votes
1
answer
848
views
N[number, 100] does not give 100 decimal places [duplicate]
Please look at this computations:
a = N[Sqrt[2], 20];
N[a^2, 100]
The output is 2.0000000000000000000, which is apparently not $a^2$ to 100 decimal places.
What'...
1
vote
1
answer
312
views
Why is Mathematica not able to calculate more digits [duplicate]
When I want a numerical value with a precision of 50 digits...
N[1.15/(1 - E^-0.2)^2, 50]
Why is Mathematica not able to provide the desired solution?
And I know ...
2
votes
2
answers
172
views
Mathematics arbitrary precision evaluation [duplicate]
I am trying to solve a simple expression:
where a = 77617, and b = 33096.
Wolfram|Alpha returns a correct result, using ...
1
vote
1
answer
109
views
Improving working precision of LegendreP[n,x]? [duplicate]
I was trying to evaluate
N[LegendreP[5,0.1]]
The cell gives me:
N[LegendreP[5,0.1]]=0.178829
However I wanted more ...
0
votes
1
answer
169
views
Precision digits in Log[] [duplicate]
Why does
N[Log[10, 6613], 20] give the requested 20 digits of precision
(* $3.8203985227039816648$ *)
but
...
0
votes
1
answer
51
views
Numerical Results with replacement rules [duplicate]
Why are the following outputs different?
N[(x^2 + y^2) /. Thread[{x, y} -> {1., 1.}], 10]
gives 2..
N[(1^2 + 1^2), 10]
...
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:
...
26
votes
6
answers
4k
views
Annoying display truncation of numerical results
I have a lot of data to inspect. An example of a number in my program is
123.189094
This gets displayed as
123.189
...
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 ...
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 ...
3
votes
2
answers
921
views
Why is Mathematica's default precision only 16 digits? [closed]
I was performing some basic computations when I noticed that
NumberForm[N[Zeta[3]], {100, 100}]
yields
...
14
votes
1
answer
1k
views
Converting to machine precision
There are multiple ways to convert an expression to machine precision, for example:
...
7
votes
2
answers
1k
views
Faster Eigenvalues with lower precision goal
I compute all eigenvalues of a large matrix, and I decide that the speed is more important than the precision. Then the question is, can I speed up Eigenvalues[] by ...
1
vote
1
answer
2k
views
Adding precision for the calculation of a function
I have some function $f(x)$ I wish to evaluate, which is yielding divide-by-zero errors for sufficiently large inputs. How do I increase the precision with which this function is evaluated in order ...
5
votes
2
answers
167
views
N not behaving in the way I expected it would [duplicate]
I'm trying to use the N function to find the percent error between a function and a rounded value of that function. The code looks something like this.
...