Solve each problem. See Examples $4,6,7,$ and 9.
A virgin forest in northwestern Pennsylvania has
4 species of large trees with the following proportions of each:
hemlock, $0.521 ;$ beech, $0.324 ; \quad$ birch, $0.081 ; \quad$ maple, 0.074
Find the measure of diversity $H$ to the nearest thousandth.