Questions tagged [numerical-value]
Question relating numerical representations, operations and methods, including approximate results instead of exact symbolic results.
398 questions
0
votes
0
answers
20
views
Using NSolveValues for an array of entries [closed]
I have the following code that works for one input, but I'd like to evaluate it for all elements in a vector of entries. I have checked that it works for the individual entries of the vector but want ...
2
votes
1
answer
188
views
Can Mathematica recognize $\cos x = x$ as a Dottie Number?
When we try to solve $\cos x = x$, there is generally no closed form solution but Mathematica has many numerical methods to solve it, for example Why doesn't Mathematica solve $x=\cos\,x$ properly?...
0
votes
2
answers
124
views
FindRoot error: FindRoot::sszero, FindRoot::dfmin, FindRoot::lstol
I'm trying to solve a highly non-linear system using FindRoot. I need to find r for fixed a=0.9; k=1; m=1; M=1; but at for ...
2
votes
2
answers
243
views
How to numerically check the binoharmonic series?
$$
\sum _{k=1}^{\infty }\frac{4^kH_{2k}^2}{k^2\binom{2k}{k}}=8G^2+\frac{103}{2}\zeta \left(4\right)-22\operatorname{Li}_4\left(\frac{1}{2}\right)+7\ln ^2\left(2\right)\zeta \left(2\right)-\frac{11}{12}...
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:
...
1
vote
1
answer
76
views
Inconsistent DecimalForm output when using Dynamic values
I'm trying to use DecimalForm to get some appropriate output for labels and such in a visualization. The values will come from a point mapped from a Locator's coordinates, which is fine except that I'...
4
votes
0
answers
91
views
Why can't you get a numerical value with a replacement rule? [duplicate]
N[π] outputs 3.14159, but N[x]/.x->π outputs π.
What'...
0
votes
0
answers
96
views
Numerical Computation of Multivariate Fox-H function using given codes
This PDF is the expression of SNR of practical RIS-aided system: https://ieeexplore.ieee.org/document/9387559 (expression A.8)
Authors mentioned some sources of computation of multivariate Fox-H type ...
1
vote
1
answer
180
views
Problem with FindRoot and FindRoot::cvmit
I'm trying to find a solution (using FindRoot) for a system of three equations for r, W, and \Omega. First I'm attempting to solve it for the simplest case (i.e., <...
6
votes
1
answer
336
views
Did the computation of Bessel functions slow down in 14.2?
This is taking much longer to plot than I would expect:
...
0
votes
0
answers
55
views
Optical Bloch Equations for three state atom
Task:
Solve numerically time-dependent optical Bloch equations with given parameters in three state system with 1 ground level. No coherence between 2 upper states.
There's the code:
...
5
votes
0
answers
136
views
How to speed up value function optimization in simple dynamic programming task (cake-eating problem)
There is a book on dynamic programming. There is an introduciton chapter on simple cake-eating problem.
The model is
$$\max_{\{c_t\}} \sum_{t=0}^\infty \beta^t u(c_t) \quad \text{s.t.} \quad x_{t+1} = ...
14
votes
0
answers
118
views
Evaluation leaks in calling N[] on held expressions
Calling N[] on a held expression converts the numbers it contains to approximate numbers (unless an argument is protect by ...
5
votes
2
answers
370
views
1
vote
0
answers
31
views
Understanding strange numeric behavior of "Plot" command [duplicate]
I have the following cumbersome expression which I wish to plot:
...