Question: 2. Use the random number generation function in C, rand), and try to write myran.c file that take an integer number N as an input

2. Use the random number generation function in C, rand), and try to write "myran.c" file that take an integer number N as an input variable and spits out aN random number sequence between 0 and 1.(Hint: You need to use RAND_MAX) 3. Write down a code "test myran.c" where you generate 1,000 random numbers from your "myran.c and store them in the memory. Then, you calculate and dravw probability density function of your random number sequence. The size of the bin is set to be 0.1. Does it look uniform distribution to you? Does it match with the expected value of the probability density function? If it doesn't, why
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
