Question: T1. Propose code for a pseudorandom number generator funetion in C++ necording to the probability density distribution of function plotted below (sum of Delta Dirac
T1. Propose code for a pseudorandom number generator funetion in C++ necording to the probability density distribution of function plotted below (sum of Delta Dirac function and constant one). Assume that the md() function is available to generate numbers with a uniform distribution 0,1 ). Calculate the variable a, considering that the draw represents a probability density distribution function. Plot the CDF (cumulative distribution function)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
