[Solved] : Question 14082

(Computing e in c++ programming) You can approximate e by using the following series: e = 1 +1/1! +1/2! +1/3! +1/4! + … + 1/ i! Write a program that displays the e value for i = 10000, 20000, …, and 100000. (Hint: Since i!= i × (i − 1) × …× 2 × 1 ,then 1/i! is 1/i(i-1)! . Initialize e and item to be 1 and keep adding a new item to e. The new item is the previous item divided by i for i = 2, 3, 4, …)


Expert Answer


Answer to : Question 14082

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?