We have a square. we will opt three random point from inside of this square and name it $p_{1},p_{2},p_{3}$ then opt another random point $p_{4}$. what is the probability of that $p_{4}$ lies in triangle $p_{1}p_{2}p_{3}$ ?
I write program and test it 10 times and in each case test it for $10^{7}$ points and the results are:
TEST CASE # 1 = 0.076566
TEST CASE # 2 = 0.076430
TEST CASE # 3 = 0.076308
TEST CASE # 4 = 0.076378
TEST CASE # 5 = 0.076433
TEST CASE # 6 = 0.076340
TEST CASE # 7 = 0.076289
TEST CASE # 8 = 0.076382
TEST CASE # 9 = 0.076402
TEST CASE #10 = 0.076260
Once you have the expected area, the probability $p_{4}$ lies in your triangle should follow.
– JessicaK Jun 01 '14 at 09:23