All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Four Points in a Square (Posted on 2023-01-12) Difficulty: 4 of 5
Four points are chosen at random inside a square. Each point is chosen by choosing a random x-coordinate and a random y-coordinate.

A convex quadrilateral is drawn with the the four random points as the vertices.

Determine the probability that the center of the square is inside this quadrilateral.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): preliminary simulation results | Comment 5 of 10 |
(In reply to re: preliminary simulation results by Charlie)

I've added the following code


    plot(x,y,'x', 'markersize', 18)
    hold on
    plot(0,0,1,1,-1,-1,1,-1,-1,1,'x', 'markersize', 18)
    plot(0,0,'x', 'markersize', 18)
    grid on
    hold off

in places where convex/non-centered, convex/centered, and non-convex determinations were made, with a pause to the program on the hold off statement, and visually the determination matched what the point plots looked like, so I have some confidence in the accuracy of my results.


  Posted by Charlie on 2023-01-12 18:17:52
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information