Question
Please explain the concept and solve Q1
Q1. Three points #1, #2, and #3 are selected at random from the circumference of a circle (see figure). Write Matlab code to find the probability that the three points lie on the same quarant. Plot the result. Notice: The solution for each answer should be the Matlab code, followed by the plots. Answer which has no Matlab code will not get any credit. 0-3S3 90 degree r o CP thrsws 360 Q2.Use Matlab to calculate the probability to get 3 times of "5" in 8 throws of a fair die. Q3. The probability to have exact 3 boys in a 5 kids family, if 1. The birth rate of boy is equal to that of girl 2.
Explanation / Answer
The ‘phi±(pi/2)’ idea works. It’s necessary to use axis equal on the plot to see it correctly.
Adding the off-line distance ‘d4’ and calculating the perpendicular line at ‘C’ as the ‘PrpC’ coordinate matrix