# Questions tagged [precision-and-accuracy]

The tag has no usage guidance.

628 questions
Filter by
Sorted by
Tagged with
27 views

### Find directional accuracy for combined forecast of ARIMA model and GARCH model

I want to use the below equation in the following forecast code. ...
62 views

### Precision perplexity: how to get all the decimal places to show up [duplicate]

If I want to see 50 digits of precision, I turn to the N function: Like N[2/3, 50 gives me ...
• 696
29 views

### Getting better answers by smaller working precision?

I have the following code ...
• 456
1 vote
84 views

### Arbitrary precision workflow

Please, consider the following MWE representing my code: ...
• 181
40 views

• 33
172 views

### How to refine ContourPlot3D result?

From this interesting question How to plot a surface given implicitly by 3 equations in 5 coordinate variables? I have found a subproblem that I would like to clarify: Often it is advantageous to use ...
• 54.2k
135 views

### Is this result for the leading digits of $2^{2^{2^{32}}}$ accurate?

I have used Mathematica to compute the leading digits of very large powers. My largest calculation was to find the first digits of $2^{2^{2^{32}}}$, whose number of digits is itself a number of over a ...
• 361
243 views

### How to transfer a numerical value in Mathematica into a symbolic fraction with sufficiently large precision?

Suppose I have a number $0.26630939883535015$ and want to transfer it into a symbolic fraction by truncating it first. The way I do it is first Round it and then <...
• 381
1 vote
117 views

### Calculating and plotting very small values gives errors

I want to plot the difference between $sin(x)$ and its Maclaurin series of order $200$ and more on $[0,1]$. When I run the code ...
109 views

### How to set the precision for the entire notebook

I want to do various computations conditional on a given precision for the entire notebook. I use the following code: ...
• 6,223
52 views

### Evaluation gives different results before and after simplifying expression

I am trying to evaluate $h(z)=\frac{f(z)}{g(z)}$ at points $z$ close to 0. Here I have taken an example value of $z=\texttt{z1}=10^{-7}$ for demonstration. I notice that evaluating the fraction before ...
• 121
93 views

### Generating sequence from a number with Precision

This question was from the End-Semester question paper of the previous year of my Course on Wolfram Mathematica - Apparently when I try to code it, something is going wrong with respect to Precision - ...
1 vote
64 views

### Appying Function To All Elements Of A Long List vs Over List's First Element Gives Different Results

So, I have two lists, and a function. If I apply my function to both lists in a "listable" manner, I have one result, but if I apply it to lists' elements one-by-one, in a "map" ...
• 345
116 views

### Precision error in ND package

Based on the helpful answers to this question, I wrote the code below to compute zeros of the derivative of the Riemann zeta function, high in the critical strip ...
• 1,151
38 views

### How to treat small numbers in order to gain efficiency and precision in neural network algorithm?

Unfortunately I won't be able to provide a MWE, as it would be too big and complex, and this question will be based on pure semantics, basically (and I understand if this is impossible to answer in ...
• 405
106 views

### NMinimize can not find points that satisfy constraints

NMinimize cant find solutions for a function which clearly has one. Setting a working precision resulted in some output, however with error messages about tolerance and precision. Heres my code. The ...
• 456
71 views

### Orthonormal Wavelet functions

The wavelet function "WaveletPsi" is supposed to create an orthonormal basis of some space. Now consider e.g. the following wavelet function: ...
• 52.7k
51 views

### Spurious solutions when using NSolve on a simplified equation

I am solving an equation that should have only one solution in $[0,1]$, and as shown below, equ2 is a simplified version of equ1 ...
• 119
83 views

### Accuracy or precision issues with this code

I'm experiencing issues with the code below (this working code solves the Tolman-Oppenheimer-Volkoff (TOV) equations in general relativity, for the hydrostatic equilibrium of a spherical star). ...
• 4,093
110 views

### Exp[-690255.2204176334] is too small to represent as a normalized machine number; precision may be lost [closed]

I'm trying to visualize the relationship of maximum temperature $(T_{m})$ with the heating rate with Randall-Wilkins theory for an energy depth of 0.85 eV. The Randall-Wilkins expression used is ...
• 9
1 vote
92 views

### How to improve the accuracy of FindRoot or NDSolveValue at extreme conditions in my equation system?

This is a follow up question to my earlier one. I have posted a question related to a DAE system. Here is my earlier question and the equation system now I am asking for an answer is ...
• 45
56 views

### Overflow + Underflow Problems with Code

I am trying to use Mathematica to verify simulation results with an analytic result. The analytic results are performance measures of the M/D/1 queue, which unfortunately uses the factorial function ...
• 437
111 views

### How to modify the given codes (NIntegrate of Boole) to get the most accurate result possible?

I have five conditions con1 to con5 over the two-dimensional domain $t,u\in[o,2\pi]$. I want to compute this area $(con1 \cap con2 )\cup(con3 \cap con4 \cap con5)$ numerically. I try the two codes ...
• 349
1 vote
52 views

### How to modify NIntegrate code below so that it gives the most accurate/reliable numerical result?

Imagine that I have two conditions con1 and con2 over the two-dimensional domain $x,y\in[-2,2]$. I want to compute the area of the union of these two conditions i.e. the region $(con1 )\cup(con2)$. I ...
• 349
1 vote
111 views

• 361
1 vote