fixed a typo on page 95

It should be `r` instead of `i` in this sum.