In: Math
For the question as followed, just write the formula and the way you solve the problem:
1.
Given a chart a, size = 50 (i.e. 50 values in chart a), and the range of the chart a is given
Divide the range into N = 10 equal-length segments (hereafter called “bins”) and for each bin, find its bound (aj , bj ) as well as its center cj for j = 1, 2,..., 10.
2.
Sort the data and place each value "ai" into that bin whose lower bound is less than or equal to "ai" and whose upper bound is greater than "ai"; thereafter, for each bin count the number of "ai" assigned to the new declare variable.