> There's a slight difference in how Utilisation is calculated in the C code and the > lecture slides. I think the C code version uses an estimate whereas the S/G equation is > more accurate.
> If a question were to come up in the exam, should I use the S/G equation or the C code > equation?
(well worded question; thank you).
If asked about slotted Aloha, they're effectively the same, as the nodes only transmit, or not, at
the beginning of each slot, and defer until the beginning of following slots.
For pure Aloha, the formula utilisation = S / G is more correct because it accounts for the
continuous, not discrete case, of nodes transmitting whenever they want to (including in the middle
of time slots).