The code rhs.m produces a histogram of 50,000 values of the partial sums (first 100 terms) of where *t _{k}* = –1 or +1 with equal probability. This histogram, shown in Figure A3.1, suggests that the probability is very small that the absolute value of a partial sum exceeds 4. But, remember, there is in fact no upper bound on the sum of the RHS; with an extremely small probability a sum could exceed any given finite value. The only “MATLABy” thing about rhs.m is the very last command, the highly useful hist. (I used ...

Start Free Trial

No credit card required