Perhaps "points" is not the better wording
Ciao.
Marco.
It is currently Thu Sep 03, 2026 2:20 pm

Yes, even the integer part is not correct.MaJJ wrote:Is q=54.4656158489 too far away to be a rounding error?
Code: Select all
def p(x,q): return 1-(x/q)
def avg(q):
s = 0
for xx in range(1,51):
s += p(xx,q)
s /= 50
return s

Look at a simpler case: 2 distances, with individual probabilities 5%, 95% and you want to score exactly once.MaJJ wrote:EDIT: or, more precisely, where is the reasoning incorrect? I know I can't use it like that, b/c it provides wrong result
Code: Select all
0,05 * 0,95 = 0,0475Code: Select all
0,5 * (1-0,6) * (1-0,7) +
(1-0,5) * 0,6 * (1-0,7) +
(1-0,5) * (1-0,6) * 0,7 = 0,29Code: Select all
0,5 * 0,6 * 0,7 = 0,21Code: Select all
0.5 * 0.6 * (1-0.7) +
0.5 * (1-0.6) * 0.7 +
(1-0.5) * 0.6 * 0.7 = 0.44 <--- too high

As far as I have ever done statistics, that is in fact the correct way to calculate it, as the throws are all assumed to be independent.MaJJ wrote: But what is the probability of scoring 2 out of 3?
This is wrong, but I didn't find a way how to calculate it correctly:I tried to do it this way because I thought the possibilities are ABC or ABC or ABC ( denoting scoring this ball)Code: Select all
0.5 * 0.6 * (1-0.7) + 0.5 * (1-0.6) * 0.7 + (1-0.5) * 0.6 * 0.7 = 0.44 <--- too high

Yes.MaJJ wrote:Is probability of scoring 2 out of 2 with probabilities 5%, 95% this?Code: Select all
0,05 * 0,95 = 0,0475
That is all correct. Together with:MaJJ wrote:And for three distances with probabilities 50%, 60% and 70%:
Scoring 1 out of 3: [...] = 0,29
Scoring 3 out of 3: [...] = 0,21
[...]
scoring 2 out of 3 [...] = 0.44

Wouldn't this depend on how far out the 3-point line extends? Also there are no units (feet/metres?) for the distances in the problem statement. At any rate, my understanding is that the only way to score one point in basketball is with a free throw, i.e. similar to what is happening in the problem statement, albeit at different distances.
