SICP Exercise 3.82 Monte Carlo integration
Exercise 3.82. Redo exercise 3.5 on Monte Carlo integration in terms of streams. The stream version of estimate-integral will not have an argument telling how many trials to perform. Instead, it will produce a stream of estimates based on successively more trials.
SOLUTION
The code and tests are here.
SOLUTION
The code and tests are here.
Comments
Post a Comment