Skip to content

Instantly share code, notes, and snippets.

@redacted
Forked from cathcart/fyp solution
Created September 28, 2011 13:26
Show Gist options
  • Save redacted/1247919 to your computer and use it in GitHub Desktop.
Save redacted/1247919 to your computer and use it in GitHub Desktop.
import scipy.integrate as i
import scipy as s
print i.quad(lambda x:s.exp(-2*i.quad(lambda y:(1-s.exp(-y))/y,0,x)[0]),0,s.inf)[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment