Recent content by nezse

  1. N

    How Many Pairs (X, Y) Meet the Condition X² + Y² ≤ N²?

    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...
  2. N

    How Many Pairs (X, Y) Meet the Condition X² + Y² ≤ N²?

    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...
  3. N

    How Many Pairs (X, Y) Meet the Condition X² + Y² ≤ N²?

    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...
  4. N

    Mathematica - turning two lists into an array

    Hi, Maybe this: Transpose[{{a1, a2, a3}, {b1, b2, b3}}]
  5. N

    Mathematica Creating Simple Arrays in Mathematica for Beginners

    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.
Back
Top