e Approximatorwritten by Colin Joye 2/00This program approximates the value of the exponential function, e, using the following algorithm: ( 1 + h ) ^ ( 1 / h ) where h approaches 0. h starts at 1 and is divided by 1.01 for every run through a while loop. enter the number of loops below. Most acurate approximation for this program occurs around 2147 loops, for some reason. (actual value of e is
|