Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
My professor doesn't have the answer and wouldn't give it to me even if he did. I have to come up with it "on my own." I'm very new to programming so I've had to ask a lot of questions.
I can understand a little unclear but "not at all clear"? In the original question I explicitly say my difficulty is in generating points...not how to plot the function.
Sorry I've learned I'm not good at clarifying lol. Ok so say we're going to plot 1000 points. Take one of those points in particular. The probability of it having a location (x,y) in the listplot has to be given by the If function of x and y. Since the If function has twice the value inside the circle, any given point has twice the probability of falling inside the circle.