Homework Problem 9, Due Friday February 20. --------------------------------------------- (a) Write a function to generate N random points (X,Y) from the triangle with longest side 10 located along the x-axis of the x-y Cartesian plane, with midpoint at the origin (0,0), and with third vertex at (1,4). Make sure that you write this function so that it parallelizes the function evaluations when N > 1 ! (b) Write an alternative function to do the same task as in (a), by a Rejection method based on randomly generated pairs in the rectangle [-5,5] x [0,4] Test your functions to make sure that they both produce UNIFORMLY distributed points in the triangle !