# The equivalent function 3

Computer Science Level 2
 1 2 3 4 5 6 def fun(x,y): s,p=1,1 for i in range(1,y): p*=x/float(i) s+=p return s 

For sufficiently large value of $$y$$, what does the above function closely approximate?

×