| 1 | initial version |
You can create a Python function which does this as follows:
def U(x,L,a):
if a==1:
return(log(x)+log(1-L))
else:
return(x^(1-a)/(1-a)+(1-L)^(1-a)/(1-a))
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.