5-38 C# Infinite Series - Calculating Euler's Number (without Math.E)

Опубликовано: 17 Июль 2026
на канале: Coding Homework
4,493
30

C# How To Program
Homework 5.38: Mathematical Constant e (C# Infinite Series, Euler's number, Math.E).
Write an app that estimates the value of the mathematical constant e by using the formula
e = 1 + (1/1! + 1/2! + 1/3!...)
The predefined constant Math.E (class Math is in the System namespace) provides a good approximation of e. Use the WriteLine method to output both your estimated value of e and Math.E for comparison.