Copy of Matlab203
Copy of Matlab203
UNIVERSITY
DEPARTMENT OF APPLIED MATHEMATICS
2024 - 25
OUTPUT:
Program-2
Demonstrating a Stochastic Process with Continuous Index
Set :
(a) with Discrete State Space
(b) with Continuous State Space
Code:
OUTPUT:
Program-3
Code:
OUTPUT :
Program-4
Demonstrating Poisson process. Write a program to find the
probability that in case of Poisson process with arrival rate λ,
in a length of time t there are exactly k arrivals.
Code:
OUTPUT :
Program-5
Demonstrating Poisson process (Non-Homogeneous). Write a
program to find the probability that in case of Poisson
process with arrival rate λ(t), in a length of time t there are
exactly k arrivals.
Code:
OUTPUT :
Program-6
Demonstrating Simple Random Walk. Write a program to find
the probability that in case of an unrestricted random walk, at
the nth instant particle lies between two specified limits. Find
the probability by taking suitable values of the parameters p,
q, n, j and k.
Code:
OUTPUT :
Program-7
Demonstrating Simple Random Walk. Write a program to find the
probability that in case of
1. An unrestricted random walk the particle is at kth position at time n
using CLT.
2. A random walk with 2 absorbing barriers, the probability of
absorption at a specific barrier.
3. A random walk with 2 reflecting barriers, steady state probability
distribution for the possible states.
Code:
OUTPUT :
Program-8
Demonstrating Renewal Process. Write a program to find the
expected waiting time until the nth renewal in case of a renewal
process with renewal cycle length distributed
1. Normally with mean μ and standard deviation σ, (μ > 3 σ)
2. Exponentially with parameter λ
Code:
OUTPUT :