# SICP Solutions

### Chapter 3, Modularity, Objects, and State

#### Exercise 3.82

MIT scheme does not seem to provide a method similar to random-update. It’s implementation in previous exercise is also not accurate. So, I am using MIT scheme random instead of random-update. This comes with a small issue of how to create a random stream. I used a quick workaround: (stream-map (lambda (dummy) (random-in-range x1 x2)) ones).

Here goes the code:

Output: