When I want a numerical value with a precision of 50 digits...

N[1.15/(1 - E^-0.2)^2, 50]

Why is Mathematica not able to provide the desired solution?

enter image description here

And I know that this is irrational and the given solution is not precise and besides Mathematica would provide more digits even if the solution is already precise in other cases.

enter image description here

So what is the problem here and how can I get more digits?

  • 1
    $\begingroup$ Start with exact or at least higher precision input. You have machine numbers in the input at present so you will not be able to get a (reliable) high precision result. $\endgroup$ Apr 30, 2014 at 16:09
  • $\begingroup$ Does this give you a hint: N[1.0, 50]? (1.0 is less precise than 1`50) Try: N[23/(20 (1 - 1/E^(1/5))^2), 50] $\endgroup$
    – rm -rf
    Apr 30, 2014 at 16:09
  • $\begingroup$ Alternatively, you could go to the Preferences dialog, Appearance tab, Numbers subtab, Formatting subtab, then change the "Number of digits displayed in output" to something larger than 6. This will give you more digits even with the machine precision input (although you will obviously run out of digits at some point due to the issues in the above comments). $\endgroup$
    – KAI
    Apr 30, 2014 at 16:15
  • $\begingroup$ Okay, guys, this solved my problem. I avoided the machine numbers and calculated N[(1 + 15/100)/(1 - E^(-(2/10)))^2, 50]. $\endgroup$
    – Gab
    Apr 30, 2014 at 16:17
  • $\begingroup$ Taking a look at the second example in the documentation for N would have answered your question. I'm voting to close. $\endgroup$
    – RunnyKine
    Apr 30, 2014 at 16:35

1 Answer 1


You have to avoid machine numbers. Calculate

(1 + 15/100)/(1 - E^(-(2/10)))^2

and you will get the solution with an ad libitum precision.

enter image description here


Not the answer you're looking for? Browse other questions tagged or ask your own question.