Docsity

ECE 5800 Assignment Two: Conveyor System Simulation - Prof. Frank L. Severance, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 5800
Severance
Assignment Two
Due: 22 September 2008
In this assignment you are to enhance the
sample Visual Basic program discussed in
lecture. Rather than simply recording the
random inputs, now you must model a
conveyor system that holds 3 boxes of known
weights (1, 2 or 3 kgs.), but the probability of
each different box is to be specified by the
user. Also, the essential quantity of interest is
the total weight on the conveyor at any time,
which is modeled by the equation
. As in
the demonstration program, the input x(k) is a
random variable chosen according to the
probabilities defined by the user.
Also, you should be able to create
summary statistics using a frequency
distribution table (FDT) showing every total
weight possibility on the conveyor resulting
from the simulation. The list boxes should
tabulate the simulation time k, the individual
weights of each box on the conveyor and
output (total weight) of the simulation.
Requirements:
1. The program must conform to Windows™ naming conventions for variables and objects.
2. The program should never crash and edits on each field should disallow invalid inputs.
3. The p rogram shou ld work co rrec tly.
4. The output should look something like the sample shown.
Deliverables:
1. a cover sheet with your name, course number and date,
2. a copy of the grade assessment sheet,
3. any derivations required (probably none in this assignment),
4. data analysis using a spreadsheet as described in lecture
5. a program listing of all the modules (printed copy of the program),
6. a printed copy of the form(s),
7. the program submission including the form file, the source file and executable files on a
flash drive or similarly suitable media.
8. The entire package should be submitted in a suitable labeled envelope.

Partial preview of the text

Download ECE 5800 Assignment Two: Conveyor System Simulation - Prof. Frank L. Severance and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 5800

Severance

Assignment Two

Due: 22 September 2008

In this assignment you are to enhance the sample Visual Basic program discussed in lecture. Rather than simply recording the random inputs, now you must model a conveyor system that holds 3 boxes of known weights (1, 2 or 3 kgs.), but the probability of each different box is to be specified by the user. Also, the essential quantity of interest is the total weight on the conveyor at any time, which is modeled by the equation

. As in the demonstration program, the input x ( k ) is a random variable chosen according to the probabilities defined by the user.

Also, you should be able to create summary statistics using a frequency distribution table (FDT) showing every total weight possibility on the conveyor resulting from the simulation. The list boxes should tabulate the simulation time k , the individual weights of each box on the conveyor and output (total weight) of the simulation.

Requirements :

  1. The program must conform to Windows™ naming conventions for variables and objects.
  2. The program should never crash and edits on each field should disallow invalid inputs.
  3. The program should work correctly.
  4. The output should look something like the sample shown.

Deliverables :

  1. a cover sheet with your name, course number and date,
  2. a copy of the grade assessment sheet,
  3. any derivations required (probably none in this assignment),
  4. data analysis using a spreadsheet as described in lecture
  5. a program listing of all the modules (printed copy of the program),
  6. a printed copy of the form(s),
  7. the program submission including the form file, the source file and executable files on a flash drive or similarly suitable media.
  8. The entire package should be submitted in a suitable labeled envelope.