 The first part is an in @-@ depth expository on Huygens ' De <unk> in aleae ludo . Bernoulli provides in this section solutions to the five problems Huygens posed at the end of his work . He particularly develops Huygens ' concept of expected value — the weighted average of all possible outcomes of an event . Huygens had developed the following formula : 
