One of the most interesting number in mathematics is the Neper's number : e. The mathematicians know very well its importance in calculus and analysis. This program in C#, is a simple way to evaluate the value of e. Its an irrational number, so it has infinite digits after the floating-point. In the arithmetic of calculator, we always work with rational numbers because we can only use a finite number of digits, so we will have an approximation. We will use, the constant field of class Math, Math.E that returns the double value of e, for evaluate the error of precision. The program uses the mathematical property of succession An= (1+1/n)^n that converge to "e" for n->infinite. The program is really simple, so now, take a look at the code.
using
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: