2nd instruction
a simple example of something basic, but the big point is they have figured out the pattern and solve for an understanding of an algorithm or two, and what it was doing in the software depending on how the mathematicians solved it that I have been able to follow, there may be more mathematicians and probably is that are working out the data.
to put it in a very simple equation and extrapolate from there;
take
d = a + b + c
d is the summation of adding a, b and c together
but now before you add a, b and c, determine each as they accumulate different counts,
n, m, and l are the votes coming in being summed to the total
like ballots accumulate at a voting machine and now d becomes the outcome of the election
d = (a + l) + (b + m) + (c + n)
next, take
d = (a + l) * k))
the a accumulates as expected but * k means multiply it times a number
d = (9 + 1) * 1 = 10
d = (9 + 1) * 2 = 20
d = (9 + 1) * 3 = 20
so finally to tabulate 3 candidates and produce the outcome
d = (a + l) * i)) + (b + m) * j)) + (c + n) * k)) = result
result print line; a and b and c.
with the multiplier set to 1, each candidate gets the expected count as votes accumulate
but if you wanted to change the just change 1 to a decimal number near that,
say 1.3 or 0.7, then
d = (a + l) * k))
d = (9 votes + 1 vote) * 1.3 = 13
d = (9 votes + 1 vote) * 0.7 = 7
d = (9 + 1) * 1 = 10
d = (9 + 1) * 2 = 20
d = (9 + 1) * 3 = 20