Random number with probability density function


Let y be a random number with probability density function g(y)=0.5*sin(y) where π≥y≥0. Generate 1000 y's. If n(k) represents the number of y's such that kπ*0.1>y≥ (k-1)π*0.1, plot n(k) with k=1,2,3,...,10.

Solution Preview :

Prepared by a verified Expert
Basic Statistics: Random number with probability density function
Reference No:- TGS0681004

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)