int ledPin = 13;
int buttonPin = 8;
void setup()
cfw_
pinMode(buttonPin, INPUT);
Serial.begin(9600);
void loop()
cfw_
int val;
if (digitalRead(buttonPin) = HIGH)
cfw_
Serial.println(digitalRead(buttonPin);
*/
int val;
val = Serial.read();
if (val = 49)

State space
S = cfw_0,1,2,.,n
Transition matrix:
2-Step Transition Probability:
Ex:
If were currently in state space 2 (2 cameras, 2 shoes, 2 umbrellas, whatever), whats the
probability that we are in state space 2 after 2 steps (the day after tomorrow, a

Stochastic processes
Definition:
A stochastic process is a sequence of random variables
X = cfw_Xt : t 2 T
where the index t is often called a time parameter, and X (t) is said to
denote the state of the process at time t.
Examples:
Stock price.
Queue le

SIE 321 - Spring 2014
Midterm #2
SIE 321: Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Midterm #2 Solution
Problem #1 (40pt) (Expected first passage time)
Consider a total of 3 red balls and 3 blue balls. There are two urns labeled

Transition probabilities and diagram: example 3
Example:
A department store classifies the balance of a customers bill as fully
paid (status 0), 1 to 30 days in arrears (status 1), 31 to 60 days in
arrears (status 2), or bad debt (status 3).
The accounts

A shop has two identical machines that are operated continuously except when they break down.
Suppose that if the machine is up on clay in. it is up on the (n + 1)" day with probability 0.9.
independent of the past. On the other hand. if it is down on the

Transition probabilities and diagram: example 3
Example:
A department store classifies the balance of a customers bill as fully
paid (status 0), 1 to 30 days in arrears (status 1), 31 to 60 days in
arrears (status 2), or bad debt (status 3).
The accounts

SIE 321 - Probabilistic Models in Operations Research
Dr. Ruiwei Jiang
Department of Systems and Industrial Engineering
University of Arizona
Jiang (UA)
PMOR
Spring 2014
1 / 119
Outline
1
Introduction
2
class Info
3
Probability Theory Review
4
Poisson Pro

Birth-and-Death Processes: Definition
Definition: a birth-and-death process is a stochastic process, with
nonnegative integer states N(t), that satisfies the following assumptions:
Assumption 1: Given N(t) = n, the current probability distribution of
the

Huy Ho
Michael Rojano
SIE 370 Lab 7
Lab 7: Intro to Sequential Circuits
Purpose:
The purpose of this lab is to introduce and get familiar with sequential circuits. The 555
timer will be used to generate a clock pulse. The 555 timer is a very cheap and use

Huy Ho
Michael Rojano
SIE 370 Lab 6
Lab 6: Adaptive Cruise Control Micro Processor Project
Purpose:
The Purpose for this lab is to design a program that will control the speed of a remote
control car using a microprocessor. The microprocessor will control

Huy Ho
Michael Rojano
SIE 370 Lab 4
Lab 4: COMBINATION LOGIC CIRCUITS I
Purpose:
The purpose of the combination logic circuit lab is to create a circuit from scratch beginning with
a design based on a truth table. The Boolean Algebra laws and theorem is u

Huy Ho
Michael Rojano
SIE 370 Lab 2
Lab 3: MICROPROCESSOR INTRODUCTION
Purpose:
The purpose of the microprocessor introduction lab is to introduce to basic use of the Ardunio
Uno Microprocessor. The lab also incorporates the programing language C+ in comb

Huy Ho
Michael Rojano
PreLab3 Microprocessor Introduction
1) Install Arduino IDE
2) The Arduino has a debugging LED on pin 13. Use the tutorial code \Blink" on
ttp:/arduino.cc/en/Tutorial/Sketch. Write the code in the IDE and run the program on
the Arduin

Huy Ho
Michael Rojano
SIE 370 Lab 1
Lab 1: Serial Communication Protocols
Purpose:
The purpose of this lab is to introduce and provide hands on experience with serial
communication. The familiarization of basic computer hardware dealing with serial
commun

Huy Ho
Michael Rojano
SIE 370 Lab 5
Lab 5: COMBINATION LOGIC CIRCUITS II
Purpose:
The purpose of the combination logic circuit lab is to create a circuit from scratch beginning with
a design based on a truth table. The design is based on a simple security

Huy Ho
Michael Rojano
SIE 370 Lab 8
Lab 8: High Level Language Controller
Purpose:
The purpose of this lab is to design and program a code to control the speed of two trains
enabling them to not crash on a figure eight course. They are 4 inputs and 2 outp

Huy Ho
Michael Rojano
SIE 370 Lab 2
Lab 1: Serial Communication Protocols
Purpose:
The purpose of this lab is to introduce and provide hands on experience with serial
communication. The familiarization of basic computer hardware dealing with serial
commun

SIE 321 - Probabilistic Models in Operations Research
Dr. Ruiwei Jiang
Department of Systems and Industrial Engineering
University of Arizona
Jiang (UA)
PMOR
Spring 2014
1 / 154
Outline
1
Introduction
2
Probability Theory Review
3
Poisson Processes
4
Mark

SIE 321 - Probabilistic Models in Operations Research
Dr. Ruiwei Jiang
Department of Systems and Industrial Engineering
University of Arizona
Jiang (UA)
PMOR
Spring 2014
1 / 93
Outline
1
Introduction
2
class Info
3
Probability Theory Review
4
Poisson Proc

SIE 321 - Probabilistic Models in Operations Research
Dr. Ruiwei Jiang
Department of Systems and Industrial Engineering
University of Arizona
Jiang (UA)
PMOR
Spring 2014
1 / 75
Outline
1
Introduction
2
class Info
3
Probability Theory Review
4
Poisson Proc

SIE 321 - Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Homework 1 Solution
Problem #1 (13pt)
A gambler is rolling a pair of fair dice. What is the probability that
1. (3pt) the sum of the dots on the dice is 7?
2. (2pt) the sum of

SIE 321 - Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Homework 2 Solution
Problem #1 (15pt)
A shop has two identical machines that are operated continuously except when they break down.
Suppose that if the machine is up on day n,

SIE 321 - Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Homework 6, due in class at 1:00pm on Wednesday May 7th, 2014
To receive full credit, you should make sure you follow the following guidelines.
Questions:
There are 4 question

SIE 321 - Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Homework 5, due in class at 1:00pm on Monday Apr. 28th, 2014
To receive full credit, you should make sure you follow the following guidelines.
Questions:
There are 4 questions

SIE 321 - Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Homework 4, due in class at 1:00pm on Friday Apr. 11th, 2014
To receive full credit, you should make sure you follow the following guidelines.
Questions:
There are 4 questions

SIE 321 - Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Homework 3, due in class at 1:00pm on Wednesday Apr. 2nd, 2014
To receive full credit, you should make sure you follow the following guidelines.
Questions:
There are 7 questio

SIE 321 - Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Homework 2, due in class at 1:00pm on Monday Feb. 24th, 2014
To receive full credit, you should make sure you follow the following guidelines.
Questions:
There are 7 questions

SIE 321 - Probabilistic Models in Operations Research
Ruiwei Jiang
Spring 2014
Homework 1, due in class at 1:00pm on Monday Feb. 3rd, 2014
To receive full credit, you should make sure you follow the following guidelines.
Questions:
There are 7 questions