Created
February 4, 2014 11:47
-
-
Save anonymous/8802249 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math.* | |
import scipy.optimize.* | |
def k2t(k): | |
f = lambda t : gamma(1/t)*gamma(5/t)/gamma(3/t)**2-k-3 | |
return fsolve(f,2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment