Question: problem 5. Consider a triangle and a point chosen within the triangle according to the uniform probability law. Let X be the distance from the
problem 5. Consider a triangle and a point chosen within the triangle according to the uniform probability law. Let X be the distance from the point to the base of the triangle. Given the height of the triangle, find the CDF and the PDF of X.
Write programs to simulate the problems 5 and display the output in a graphical form, with the following simplifications:
5) The triangle has one corner at the origin, one at (1,0), and one at (x,1), repeating the program for x = 0, 1/2, 1.
please write program in java or python.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
