I agree, my fault. The thing is i need to calculate the probability of that event, so I need to know how many pairs satisfy that condition. I already know that the probability of any pair to come up is 1/N^2, therefore I only need to know how many pairs like that can come up and multiply that...
At first I draw it in a paper with N=9. And that give me no clue. Today, with the purpose to show you the figure, I made it again, but in Mathematica. When I see the elementes that satisfy the condition in that matrix, the answer to N→∞ become so obvius. I attach the image.
When N→∞ the...
Hi All,
I'm stucked computing this:
I have two discrete random variables 1≤X≤N and 1≤Y≤N. How many pairs of (X,Y) satisfy X²+Y²≤N²
I began by using a certain value for N and trying to search for patterns in the numbers that satisfy this constraint but I can't seem to get any meaningful...
Hello,
I have a list {a,b,c,d}
and i want a array of the form:
{{a,b},{b,c},{c,d}}
I think it is easy, but I'm new in mathematica and I don't know what funtion to use.
Thanks.