Skip to main content

Questions tagged [numerical-value]

Question relating numerical representations, operations and methods, including approximate results instead of exact symbolic results.

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 ...
Gwaine's user avatar
  • 105
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?...
Moo's user avatar
  • 3,556
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 ...
MMS's user avatar
  • 129
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}...
Ahamad's user avatar
  • 288
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: ...
jjoIV's user avatar
  • 303
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'...
Todd Pytel's user avatar
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'...
Vilas's user avatar
  • 93
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 ...
pinky's user avatar
  • 1
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., <...
MMS's user avatar
  • 129
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: ...
Craig Carter's user avatar
  • 5,812
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: ...
RNK1337's user avatar
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} = ...
garej's user avatar
  • 5,017
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 ...
Michael E2's user avatar
  • 251k
5 votes
2 answers
370 views

Weird behaviour of NProbability

...
Dotman's user avatar
  • 590
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: ...
AG1123's user avatar
  • 603

15 30 50 per page
1
2 3 4 5
27