Original Post
So, I had prob-stat in college, but I didn't fair to well in the class. Now that I'm working in game development, I kinda wish I had paid more attention to what I was doing. Anyways, here is my question: Given two ranges A(with range z-y) and B(with range x-w), what is the probability that A > B Example: If A is a random number between 0-10, and B is a random number between 5-20, what is the probability that A > B I could set this up to do a brute for calculation (ie, do 1000 loops, generate random numbers for each, etc), but if there exists a formula, I'd rather just have that.