eastern mediterranean university faculty of engineerng department of industrial engineering ieng461...

20
EASTERN MEDITERRANEAN UNIVERSITY FACULTY OF ENGINEERNG Department of Industrial Engineering IENG461 System Modeling and Simulation Course Fall 2012-2013 Laboratory

Upload: audra-black

Post on 17-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

EASTERN MEDITERRANEAN UNIVERSITYFACULTY OF ENGINEERNG

Department of Industrial Engineering

IENG461 System Modeling and Simulation CourseFall 2012-2013

Laboratory

Open Microsoft office> Microsoft Excel

File> New> Blank Workbook

Formula: =NORM.DIST(x,mean,standard_dev,cumulative)

Normal Distribution function

NORM.DIST gives the probability that a number falls at or below a given value of a normal distribution.

Formula: =NORM.INV(probability,mean,standard_dev,)

NORM.INV is the inverse of the NORM.DIST function. It calculates the x variable given a probability.

The percentage of women less than or equal to 68 inches is:

=NORM.DIST(68, 65.5, 2.5, TRUE) = 84.13%

How tall would a woman need to be if she wanted to be among the tallest 75% of American women?

=NORM.INV(0.25, 65.5, 2.5) = 63.81 inches

NORMDIST FUNCTION for Probability

Formula: =NORM.DIST(x,mean,standard_dev,cumulative))

Example1:

Normal Distribution function

Write the formula in B4 Normal Distribution function

Enter Normal Distribution function

Example2:

Normal Distribution function

Write the formula in B5 Normal Distribution function

Enter Normal Distribution function

Simulate standard random normal variable

Formula: =NORM.DIST(RAND(),mean,standard_dev,cumulative)

Example3:

Enter and drag

Simulate standard random normal variable

Formula: =NORM.INV(RAND(),mean,standard_dev)

Example4:

Enter and drag

Simulate uniform random variables

Formula: =RAND()*(b-a)+a

Example5:

Enter and drag

Simulate exponential random variables

Formula: =EXPONDIST(x,lamba,cumulative)For random x : =EXPONDIST(RAND(),lamba,cumulative)

Example6:

Enter and drag

Another way!

FirstFile > Options > Add-Ins > Analysis Tool Pack > Go> Ok

Now :Data> Data Analysis> Random Number Generation>ok

Another way!File > Options > Add-Ins > Analysis Tool Pack > Go> OkNow :Data> Data Analysis> Random Number Generation>ok

You can choose the distribution and fill the blanks easily.

The End