def RenderExpoCdf(lam, low, high, n=101):
 xs = np.linspace(low, high, n)
 ps = (1 - np.exp(((- lam) * xs)))
 return (xs, ps)

def RenderExpoCdf ( lam , low , high , n = 101 ) : xs = np . linspace ( low , high , n ) ps = ( 1 - np . exp ( ( ( - lam ) * xs ) ) ) return ( xs , ps )
generates sequences of xs and ps for an exponential cdf .