assignment2 - Assignment II ISE 3424 Discrete-Event...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Assignment II ISE 3424 Discrete-Event Simulation Pasupathy, Spring 2010 Assigned: Thursday, February 17 Due: Thursday, March 4 (by midnight) Note : In what follows, whenever appropriate, the steps involved in the random-variate gen- erator should be clearly outlined. So, for example, a generator for the exponential random variable with parameter is (i) Generate u U (0 , 1); (ii) Return x =- 1 ln(1- u ). 1. Use the cdf-inverse method to develop a random-variate generator for a random variable X with the probability density function (pdf) f ( x ) = braceleftbigg e 2 x ,- < x e- 2 x , < x < . 2. Use the cdf-inverse method to develop a random-variate generator for a random variable X with the cumulative distribution function (cdf) F ( x ) = , x . 5 x, < x 1 1- e- x , 1 < x < , where = log 2 . Write the generator in MATLAB. (Make sure that you use the usual format for a generator: take a seed as input and return the next seed to use along with...
View Full Document

Page1 / 2

assignment2 - Assignment II ISE 3424 Discrete-Event...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online