blob: e5ff781aec84a11f4960493db39f791947e224cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc;
// Chapter 2 Switched communication systems
//Example 2.8,page no 129
//given
S=1000//no of subscribers
T=2.4/60//avarage duration of calls in hours
A=60//rate of traffic flow
C=A/T//Tatol no of call in busy hour
mprintf('Total no of call in busy hour is:%f calls per Hour\n',C)
CR=C/S//busy hour calling rate
mprintf('Busy hour calling rate is:%f \n',CR)
SCL=30//no of call lost per hour
B=SCL/(C+SCL)//grade of service
mprintf('grade of service is: %f',B)
|