Linked Questions

3 votes
1 answer
850 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'...
Behzad's user avatar
  • 575
1 vote
1 answer
313 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 ...
Gab's user avatar
  • 443
2 votes
2 answers
184 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 ...
syscreat's user avatar
  • 123
1 vote
1 answer
111 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 ...
bboczeng's user avatar
  • 449
0 votes
1 answer
179 views

Precision digits in Log[] [duplicate]

Why does N[Log[10, 6613], 20] give the requested 20 digits of precision (* $3.8203985227039816648$ *) but ...
David G. Stork's user avatar
0 votes
1 answer
52 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] ...
Ivor Denham-Dyson's user avatar
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
26 votes
6 answers
5k 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 ...
Reb.Cabin's user avatar
  • 8,661
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
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
  • 625
3 votes
2 answers
1k 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 ...
Klangen's user avatar
  • 1,009
8 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 ...
9527's user avatar
  • 529
14 votes
1 answer
1k views

Converting to machine precision

There are multiple ways to convert an expression to machine precision, for example: ...
Simon Woods's user avatar
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 ...
Roger Harris's user avatar
  • 1,497
5 votes
2 answers
171 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. ...
mjkaufer's user avatar
  • 153

15 30 50 per page