Simulation and Modelling Exam QA
Simulation and Modelling Exam QA
1. Introduction to Simulation
A: Simulation is the imitation of a real-world system. It helps in analyzing systems without building them
A: A queue is a line of entities waiting for service. Components: arrival rate, service rate, number of servers,
queue discipline.
A: Use exponential distribution to generate arrival and service events, and track system state over time.
A: Formula: X_{n+1} = (aX_n + c) mod m. Requires seed, multiplier, increment, and modulus.
A: Square a number and use the middle digits as the next seed. It is simple but not reliable for long
sequences.
Simulation and Modelling - Exam Questions and Answers
A: Use two U(0,1) numbers to compute standard normal Z1, Z2 using trigonometric transformations.
Q: Generate a Weibull random variate with shape alpha and scale beta.
A: Collect data, fit distributions, perform goodness-of-fit tests (Chi-square, K-S), validate model.
A: EAR(1): X_t = e^{phiX_{t-1}} + epsilon_t; used for nonlinear dependencies in time series.