Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. (Generating Random Variables) Generating random variables with a desired probabil ity distribution is an important element of man},r engineering design applications. In this question,

image text in transcribed
. (Generating Random Variables) Generating random variables with a desired probabil ity distribution is an important element of man},r engineering design applications. In this question, you will use a programming language to generate random variables using the transform method. This will be very useful for your project. Let U be a uniform random variable from U to 1. Let X be the random variable we wish to generate. Let F}; {I} be the cdf of X. {a} Determine the inverse of Fxm}, i.e. Film). when X is an exponential RV with A = as. {b} Now, you will generate X by applying F'qu) on U . Generate u = 50W} exponen tial random variables with A = (1.5 and plot a histogram of the points. Compare the histogram to a plot of the pdf of X . For MATLAB. you can use the following function to plot the histogram: histogramlsamples , 'Normalization' , 'pdf ') . (c) Now. assume that X is a discrete uniform RV on the set {1. 2, 3, 4}. Repeat the steps of part (a) and {b}. In MATLAB. for the histogram. use the following func tion since X is now a discrete RV: histogram(samples , 'Normalization' , ' probability ')

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

A First Course In Differential Equations With Modeling Applications

Authors: Dennis G Zill

11th Edition

1337515574, 9781337515573

More Books

Students also viewed these Mathematics questions

Question

2. Avoid controlling language, should, must, have to.

Answered: 1 week ago

Question

6. How can hidden knowledge guide our actions?

Answered: 1 week ago

Question

7. How can the models we use have a detrimental effect on others?

Answered: 1 week ago