### a question from 《leanring OpenCV 3》about hist

Hi,guys
these day ,I am learning hard at 《leanring OpenCV 3》.And at chapter 15 page 404,I am block at an execrise

- Generate 1,000 random numbers ri between 0 and 1. Decide on a bin size and
then take a histogram of 1/ri.

a. Are there similar numbers ~~of ~~of
entries (i.e., within a factor of ~~±10) ~~±10)
in each ~~his‐
~~his‐ togram bin?

~~ ~~ b. Propose a way of dealing ~~with ~~with
distributions that are ~~highly ~~highly
nonlinear so ~~that
~~that each bin has, ~~within ~~within
a factor of 10, the same amount ~~of ~~of
data.

Ok,for the question a,I THINK there are similar numbers of entries in each histogram bin,but how to PROVE it?
yet abhout question b,I don't kown the answer how to write the appropriate code.

many thanks for any help!