Skip to main content

New answers tagged

1 vote

Unable to plot $\exp(-a \sqrt{1+x^2})$ for $a>700$

To address this, you can use arbitrary precision arithmetic to handle very small numbers. By setting the precision explicitly, you can ensure that the calculations remain accurate even for large ...
zeraoulia rafik's user avatar
12 votes
Accepted

Unable to plot $\exp(-a \sqrt{1+x^2})$ for $a>700$

One source of the problem is underflow: N[BesselK[2, 750]] (* 0. *) N[BesselK[2, 750], $MachinePrecision] (* 8.724748003877388*10^-328 *) Here's a function ...
Michael E2's user avatar
  • 239k
1 vote
Accepted

Specify the Method for `NIntegrate` to evaluate a integral of special functions

After extensive testing, I discovered the reason for the slow convergence of the integral and provided a solution. Reason Let's define the function ...
Jie Zhu's user avatar
  • 1,811
4 votes

Unable to plot $\exp(-a \sqrt{1+x^2})$ for $a>700$

Forcing Mathematica to perform numerical calculations with a specified precision rather than machine precision can solve this problem, like ...
Jie Zhu's user avatar
  • 1,811
3 votes

Unable to plot $\exp(-a \sqrt{1+x^2})$ for $a>700$

Perhaps for these huge values of a it is sufficient to only plot the asymptots ...
Ulrich Neumann's user avatar

Top 50 recent answers are included