second moment of truncated gamma distribution
Compute second moment of the truncated gamma.
my_e2truncgamma(a, b, shape, rate)
a
: left limit of distributionb
: right limit of distributionshape
: shape of gamma distributionrate
: rate of gamma distribution