Questions tagged [precision-and-accuracy]
The precision-and-accuracy tag has no summary.
649 questions
5
votes
2
answers
629
views
Strange results about the sine function of a big integer
I want to calculate the sine of a big integer, e.g., Sin[10^50], but found that N[Sin[10^50]], N[Sin[10^50],10], and N[Sin[10^50],20] give different results:
...
1
vote
0
answers
233
views
Precision/Accuracy error in solving numerical equation with FindRoot
I am trying to solve the equation bellow eq[x,k] for x, for k from ...
3
votes
2
answers
174
views
How does Mathematica compute the Precision of arithmetic calculations involving addition and multiplication of arbitrary precision numbers?
Consider the following simple calculation of the product of two 2x2 matrices composed of numerical values with specified precisions:
...
0
votes
1
answer
99
views
Problems with iterative process
The origin of this question is described here, but there are many details,
distracting from the main topic.
I did not remove the old question so that the interested ones could see the geometrical ...
3
votes
1
answer
107
views
Accuracy issue of function ArcTanh in ParametricPlot
In this simple example (well known single-mass oscillator) I tried to plot the NDSolve-solution Y with two different parametrization ...
0
votes
0
answers
44
views
How to get the correct result of the difference of two large numbers? [duplicate]
I found that when the variables of the Airy functions are complex numbers such as a=-36.3 - 63.1 I and b=-37.7- 65.4 I in the ...
0
votes
0
answers
50
views
Inconsistent results with SetPrecision in Manipulate
Here's as simple an example as I can construct to represent the issue.
The user provides 3 values: var1, var2, var3.
I use Symbol here because, in the general case, the user can change the number of ...
0
votes
0
answers
52
views
Why does using Range with arbitrary-precision numbers slow down computations, and how can I optimize?
I am working with some computations in Mathematica that involve creating several large tables and then taking a product and sum of their elements. I’ve noticed a significant performance difference ...
0
votes
0
answers
54
views
Underflow issue only by replacing the input variable of Exp with numbers
I was facing an underflow issue with Exp[]. I was able to fix that by following the suggestion: New General::munfl error and loss of precision
However, when the argument of Exp are variables and I try ...
6
votes
1
answer
210
views
Precison of InterpolatingFunction decreases to MachinePrecision in ParallelTable
Bug introduced after 8.0.4, persisting through 14.1.
Here is the code:
...
2
votes
0
answers
134
views
Relation between AccuracyGoal, PrecisionGoal and WorkingPrecision in a general way [duplicate]
For a long time I have been searching for an answer to the link or the relation between AccuracyGoal, PrecisionGoal, and WorkingPrecision. I want to use them in <...
0
votes
2
answers
86
views
How to speed up the n-th Laplacian or derivative of function?
We wish to solve for the multiple Laplacian of a function, and here we use sum of E-exponential functions as an example:
...
1
vote
0
answers
63
views
The interval where true value can lie [duplicate]
My goal is to get the interval where true value of a measured value 42.12 can lie. The number of significant figures of 41.12 is four.
As far as I know the interval where the true value could lie is ...
0
votes
0
answers
60
views
A function falls below default machine precision
I am trying to plot a function that becomes too small in a certain range (< 10^-320) and can no longer be calculated. Is there a way to change the precision so that it works and the log-log plot ...
0
votes
0
answers
67
views
Exporting numbers with MachinePrecision to csv very slow
Using Mathematica 9.0.1.0 on Mac OS X 10.9.5 (that's the copy we have and the machine we have to use. Updating not possible.)
Exporting a number (for instance, ...